How to do i turn triggers off/on Created 1 year ago2023-01-29 23:48:15 UTC by closed closed

Created 1 year ago2023-01-29 23:48:15 UTC by closed closed

Posted 1 year ago2023-01-29 23:48:15 UTC Post #347271
Im trying to make a scene where the player goes to a room to start up something, the thing breaks, he has to walk back to find the direct access hallway to start it up, and the trigger is enabled after the thing breaks
Posted 1 year ago2023-01-30 00:35:49 UTC Post #347272
The simplest way would be to use a multisource. Create a multisource entity, give it a name and then have something target it. Then, go to the trigger you want to turn on/off and set the Master to the name of the multisource.

Example:

func_door
name: door1

trigger_multiple
target: door1
master: door1_lock

multisource
name: door1_lock

func_button
target: door1_lock

In the above example, the trigger_multiple which opens the door will NOT work until the func_button has been pushed. If the func_button is set to toggle, or if you trigger the multisource again, the trigger_multiple will be disabled again and the door would be locked.
monster_urby monster_urbyGoldsourcerer
Posted 1 year ago2023-01-30 01:51:02 UTC Post #347273
Thank you
You must be logged in to post a response.