#I need a way to reset the condition to false on a bool variable

8 messages · Page 1 of 1 (latest)

thin trail
#

Please help i'm desperate

gray idol
#

Just clone the bool variable then using the wire tool set it to false then activate and it will be false

thin trail
#

i'm trying to make it so that someone has to be inside of the trigger volume and then have anlther person set off the trigger for it to work

gray idol
#

So one person has to be in a trigger volume then someone else presses a button to activate it??

gray idol
#

A good way is to have two different bool variables, one will not be synced (we can call this one entered), then the other one will be synced (we can call this one activate)

So when player enters trigger volume set entered to true then when player exited trigger volume set false.
We can use a button to activate the trigger volume by when pressed set activated bool to true. Then get an event reciver and when recived if activated is true and entered is true then active whatever.

#

There could be a better way buy I can't think rn