Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: making units stand still  (Read 649 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