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: exec all soldiers  (Read 1002 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
exec all soldiers
« on: 13 Sep 2005, 18:16:16 »
ive tried to activate a script for every side in the game so i created a trigger anybody present once condition this
then what do i put in the activation field ?
ive never been that good and foreach command i want to activate a script to every unit on tha map

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:exec all soldiers
« Reply #1 on: 13 Sep 2005, 18:46:15 »
trigger, covering map, activated by a side, on activation

Code: [Select]
{[_x] exec "side_script.sqs"} foreach units thislist
untested.

Offline 456820

  • Contributing Member
  • **
Re:exec all soldiers
« Reply #2 on: 13 Sep 2005, 19:31:09 »
i tried that but an error got rid of units and now it works fine
thanks alot Bedges

topic solved