OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 12 Jun 2004, 20:33:48
-
I have a scenario where ur patrolling in sum zone where there are also res dudes who are friendly at that time, but wen i shot is fired and kills ur officer how can u get the res dudes to turn as ur enemy and start shooting at u.
Thanks.
-
Make Resistance not friendly to your side. In your init field write
this setCaptive true
when you want the Resy boys to start popping off in you direction write this in a trigger
On activation: player setCaptive false
-
But wont that just make them fire at me, i want them to fire at all my guys.
-
"_x setCaptive false" forEach ArrayOfYourUnits
-
Ok thanks i get the setCaptive false thing but excuse my stupidity but wot is this ArrayOfYourUnits thing and how is that dun through a trigger?
Thanks. :)