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: firing commands  (Read 643 times)

0 Members and 1 Guest are viewing this topic.

McFinnish

  • Guest
firing commands
« on: 27 May 2004, 16:36:17 »
I'am making an mission, where I want to units to be forced to get prone and after that no AI would fire. How can I stop AI from firing? I don't want to take their weapons and mags, is there any better way?

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:firing commands
« Reply #1 on: 27 May 2004, 17:03:45 »
Hi,

To force the units to get prone:

{_x setUnitPos "DOWN"} forEach units groupName

To order hold fire:

groupName setCombatMode "GREEN"

Where 'groupName' is the name of the group...

Cheers