Jump to content
Sign in to follow this  
jjespejo

setTriggerStatements Just not working.. need help

Recommended Posts

I have been at this all day, reading every post to get this to work. I have gotten it to produce the Charlie Radio call. under 0-0-3. Once you select it nothing. I copied the settriggerStatements line right from Comref and it doesn't want to work. Now that statements is really not what I want, but I can't even get the basics to work. I really want to execVM another script, but that wasn't working either.

I just want this friggn thing to work....here are a couple of tries that failed. I just want to run my sqf???? :cryy::cryy:

trg1 setTriggerStatements ["this", "execVM 'MoveBase.sqf';",""];

trg1 setTriggerStatements ["this "player exec ""MoveBase.sqs""" , ""];

trg1 setTriggerStatements["this","execVM 'MoveBase.sqf';];",""];

Sectorpos = _this select 0; //trigger sector
if (!isServer) exitWith {};
hint "Charlie on Server";
tgr1 = createTrigger["EmptyDetector", getpos player];
tgr1 setTriggerArea[50,50,0,false];
tgr1 setTriggerActivation["CHARLIE","PRESENT",true];
trg1 setTriggerStatements ["this", "hint 'trigger on'", "hint 'trigger off'"];

Share this post


Link to post
Share on other sites

I actually tested everything and nothing works except :

_declencheur setTriggerActivation["ANY","PRESENT",false];

ago that "any" works, so there's a bug I confirm this command.

Share this post


Link to post
Share on other sites

thanks ADOGMC. yu'd think BIS would have put that in there wiki under this command? That was a lot of time wasted thinking it was syntax. It would help others out.

I ended up using addaction's, really don't like those but its all I got.

Thanks for getting back...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×