Jump to content
Sign in to follow this  
Vicarious

Trigger/variable help ?

Recommended Posts

hi gents,

I'm currently creating a "sniper" mission and need help with a trigger,

What I'm trying to do is have the player call for permission via radio before he takes the shot at the target....

What i currently have working is the radio command to become available to the player once he enters within 2KM of the target. This is working fine you cant see the radio option still you enter the trigger area, then the radio option "request Permission" pops up once your in the 2KM radius.

NOW what I cant get working is the trigger which ends the mission (Fails) if the player kills the target WITHOUT calling for permission first....

what I've tried doing is setting up a trigger with the condition;

 (!alive target) AND (trig1 = false);

I've also tried

!alive target && trig1 = false;

trig1 is a variable I've defined which turns true when you have called for permission.

But both give me syntax errors and wont accept it, what am i doing wrong? is there an easier way of setting this up???

Thanks in advance.

Share this post


Link to post
Share on other sites

!alive target and !trig1

or

!alive target and trig1 == false

Using only one = assigns a value, rather than use it as condition.

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  

×