Jump to content
Sign in to follow this  
Freebie

Briefing condition question

Recommended Posts

Hi all, I've just finished my 1st briefing and am stuck on one last thing.

I have an obj1 which is arriving at a marked overwatch position. No problems setting the task to "succeeded" as I've just set a trigger with blufor detected, but how could I get it to be failed if the person doesn't arrive at the position and continues on without going there?

Thanks.

Share this post


Link to post
Share on other sites

Either by making a trigger with timeout or one covering the area where he should not be before going to the first place. Or both.

Share this post


Link to post
Share on other sites

Thanks shk, although in this case what I really need is a trigger (or something) past the overwatch stage that looks to see if the overwatch task was succeeded. If it was then it ignores it, if it wasn't then it sets the task to failed.

Being new to mission editing I don't even know if this is possible to do?

Share this post


Link to post
Share on other sites

The way that I would do it is to create a trigger that detects Blufor further ahead in the mission (at a point which they should have completed the overwatch objective), in the condition I would have something like:

(player in thisList) && !(OverwatchVar)

Where OverwatchVar is boolean variable (true / false) that is changed to true when overwatch objective is completed.

Then on the onAct put something like:

TaskName setTaskState "FAILED"

Hope that made some sense :)

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  

×