OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 13 Sep 2005, 18:16:16

Title: exec all soldiers
Post by: 456820 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
Title: Re:exec all soldiers
Post by: bedges 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.
Title: Re:exec all soldiers
Post by: 456820 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