OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Pr0ph3t on 13 Mar 2005, 02:55:59
-
When the trigger activates I want all civilians on the map to suddenly go negative rating.. This is so troops can fire at them.
what's the command please? thanks! ;D
-
HOLY SHIT
I did addrating -2100 instead of setcaptive false.. They continue shooting even after they're dead!! its awesome!
-
Pr0ph3t ,
You've had a few posts that get a little out of hand. I don't think we need to swear over the results of OFP scripting.
Well to give you an answer, you can put all the civs into an array, via trigger covering the whole map, and later call on that array with the command.
I haven't used this in awhile, but something along the lines of...
{_x addrating -4600} foreach _array
-
None of those lines worked. However this one did for anyone else that might be in my shoes:
"_x addrating -2100" foreach (units group todie)"