I have a question about the DisableAI command in the comref. I'm trying to keep soldiers in a group behind cover. So far, the only way I've figured out how to do it was have every soldier in the group fighting from behind cover run a script when the group leader enters a trigger linked to him. My current method is....
;scripted executed by activation in a trigger
;( [loon,marker] exec script.sqs
_loon = select 0
_marker = select 1
[_loon] join GrpNull
_loon doMove getMarkerPos "_marker"
once the loon reaches a very small trigger around the marker, I set them to crouching from the activation field withunitname setUnitPos "Crouch"
That works fine untill the enemy shows up then they begin to advance on a mechanized infantry platoon like lemming off a cliff. I don't want to disableAI "Move" them because I need them to move again after all is said and done. Any better ways to get them to retain AI and make them stay put?