Home   Help Search Login Register  

Author Topic: making units stand still  (Read 413 times)

0 Members and 1 Guest are viewing this topic.

killjoy73au

  • Guest
making units stand still
« on: 16 Jan 2005, 00:00:07 »
hey this is pretty much basicville but how do you make it so a soldier stands still and doesnt run off anywhere or take cover when they are in combat

Dane

  • Guest
Re:making units stand still
« Reply #1 on: 16 Jan 2005, 00:10:37 »
Unitname setbehaviour "careless"; doStop unitname or {_X setBehaviour "careless"} forEach units groupname; {doStop _X} forEach units groupname.
But units won't fire if they are in careless mode and the dostop only works when the units aren't engaged.

Maybe this is what your'e looking for ;)
http://www.ofpec.com/yabbse/index.php?board=27;action=display;threadid=18098
« Last Edit: 16 Jan 2005, 00:17:35 by Dane »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:making units stand still
« Reply #2 on: 16 Jan 2005, 01:08:17 »
In certain circumstances the command disableAI can also be useful.    Comments in the online comref in the Ed Depot.   Also setUnitPos.
Plenty of reviewed ArmA missions for you to play