Jump to content

Recommended Posts

Hi all

 

I'm trying to set up a situation where the player's vehicle goes up a road, gets to the end, turns around and comes back done the road. On the way back down the road, it sets off a trigger.

 

So it's passed through the trigger's area on the way but doesn't trigger it.

 

So far I've tried link setting it to 'player present' but setting a condition in the condition field such that a trigger at the turn around has to be activated. But it activates as soon as the turn round one activates, not when the vehicle comes back down the road. i've also tried hiding the trigger and unhiding it with a trigger at the turnaround point, but that doesn't seem to work either.

 

Any ideas?

Share this post


Link to post
Share on other sites

a simple trigger, player present, repeatable

in cond field this

In on act field:

if (player getVariable ["triggerpassed",false]) then { hint "welcome back"};
player setVariable ["triggerpassed",false];

in on  deact field :

player setVariable ["triggerpassed",true];

 

 

Share this post


Link to post
Share on other sites

Thanks for that. Great service 🙂

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

×