Let's say I want an object to trigger an event when activated and then disappear forever after that event is done, even after reloading the map.
I have set up the event as usual and then I have set the following:
Then I have tried to set the variable condition:
But probably this doesn't do what I think it does because the object is always destroyed regardless of the TutorialFought value.
I tried to change the value of IsValid but the event keeps respawning every time the area is reloaded.
How do I do this properly?
You can learn more about this in the game variable how-to.
Also, in the variable condition, you'll want to disable Is Valid, as the event should perform when the variable isn't set and deleted if it's set :)
The variable conditions define under which conditions the event can start, if the condition fails and Auto Destroy is enabled, the game object is destroyed.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!