Jump to content
Sign in to follow this  
EvilDutch

How to ignore a trigger if task is compleet?

Recommended Posts

So i have a optional task in my mission that people can find, now what i want to do is if the task is complete and marked as success that it deactivate the other trigger that will cancel the task if they didn't find the task. Anyone a idea how to do that ?.

Kind Regards

Edited by EvilDutch

Share this post


Link to post
Share on other sites
Why would you have a task to cancel an optional task?

I give the player the option to find hidden objectives, if they find the optional objectives it activates the task, if they complete that task and return to base now one of the end triggers cancels the optional task. I want to make it like that if they finish the optional task that the cancel task trigger is disabled.

Share this post


Link to post
Share on other sites
You can delete the trigger (with deletevehicle)

if i use deleteVehicle OPTaskCancel; in the On Act from the success trigger it cancel the task with out going into that trigger at all :confused:

EDIT: I think i fixed it.

I use in the success trigger now this line of code.

OPTaskCancel setTriggerActivation ["NONE", "PRESENT", false];

Edited by EvilDutch

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  

×