Jump to content
Sign in to follow this  
anusmangler

task to to complete if playerremain undetected/ fail if player is detected.

Recommended Posts

Ive been trying to get this working. I have a task and a trigger, I have it fail if player is detected but I tried a few ways to get it to get it to succeed if unit leaves trigger undetected...some help please!!!!

Share this post


Link to post
Share on other sites

I assume you have script that runs when player is detected? If so, put this at then end:

if (isNil"gotDetected") then { gotDetected = true; publicVariable"gotDetected"; };

Create a trigger too and put this in it's condition:

!(isNil"gotDetected");

Then synchronise that trigger with a task succeeded module and you're done :)

(the code above is meant for Multiplayer)

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  

×