Home   Help Search Login Register  

Author Topic: exec all soldiers  (Read 630 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