I've been trying a few ideas in unit_special_abilities to make them stop charging without success. The main problem is I don't know what I'm doing, so please don't laugh

.
Here's what hasn't worked so far:
1. Uncheck "can_autotrigger" permission
2. Uncheck "update_targets_every_frame"
3. Uncheck "clear_current"order"
Each time I unchecked a new ability, I re-enabled the previous ability so only one was isolated. All edits have been made to the "killing spree" unit ability, which seems to be the standard DeI Hoplite Phalanx that the Greek units have.
During testing, I've noticed something else. Whenever the Hoplites raise their spears to ready another "charge", the Phalanx ability icon flashes above their heads as if the AI is activating it. So basically what seems to be happening is the AI is trying to activate the Phalanx over and over, but always tells them to charge afterwards, thus deactivating it.
So essentially, activating the ability gets the hoplite out of combat for a split second, and in that split second the AI has the hoplite attack or "charge" back into combat, thus deactivating the Phalanx. Rinse and repeat.