REN67 10 Posted October 30, 2010 how would i set up a trigger so that when bluefor enters the trigger zone he becomes captive and opfor doesnt shot at him Share this post Link to post Share on other sites
buliwyf 4 Posted October 30, 2010 (thislist select 0) setCaptive true; :rolleyes: Share this post Link to post Share on other sites
REN67 10 Posted October 30, 2010 thanks that's works ---------- Post added at 01:27 PM ---------- Previous post was at 01:14 PM ---------- well that worked for when they enterd the zone but when they left the zone they stayed captive so how would i make them become uncaptive hen they leave the zone Share this post Link to post Share on other sites
buliwyf 4 Posted October 30, 2010 Put a name in your "safe zone trigger" and create a new trigger: Activation: None / Repeatedly Condition: captive player AND player not in list TRIGGERNAME On Activation: player setCaptive false Share this post Link to post Share on other sites
REN67 10 Posted October 30, 2010 i cant get that to work how would the code look i am new at this so bare with me Share this post Link to post Share on other sites
buliwyf 4 Posted October 30, 2010 Example: -= Download =- :rolleyes: Share this post Link to post Share on other sites
REN67 10 Posted October 30, 2010 ok now how would i do that for the whole squad it seams to work only for one player and not the squad see what i am trying to do is a undercover ops you have to travle threw a hostal town undercover but when you get close to your objective you are no longer captive Share this post Link to post Share on other sites
buliwyf 4 Posted October 30, 2010 Download example again: -= Download =- :rolleyes: Share this post Link to post Share on other sites
shuko 59 Posted October 30, 2010 Trigger: activation: civilian, present, repeatedly name: trgRemCaptive condition: this Init.sqf: [] spawn { while {sleep 2; {captive _x} count playableunits > 0} do { {_x setCaptive false} foreach list trgRemCaptive; }; }; Share this post Link to post Share on other sites
REN67 10 Posted October 30, 2010 the script Buliwyf gave me is working out for me thanks Buliwyf :bounce3: Share this post Link to post Share on other sites