Forum rules - please read before posting.

Pausing trigger while player is still in proximity?

Hi all, been a long time.
Basically I have a trigger that opens a door, waits 3 seconds, then closes. But I wanted the door to stay open while the user is still 'within' the trigger, so I was thinking of pausing the actionlist until the user walks out of the trigger, at which point the actionlist would continue and the door would close. Is this possible?

Comments

  • There is an ActionList: Pause or resume Action but you would need to be sure that the ActionList is running before calling it.

    One way to do this would be to have a Local bool variable named e.g. IsInDoorway, that uses a separate Trigger to set itself True when the Player approaches, and False when leaves.

    Your original ActionList could then run on a mini-loop after the Wait until IsInDoorway is False before continuing.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.