Hi guys,
I'm trying to do execute an event when a player first walks into a room, then never execute the event again. I've seen in tutorials that I can create a boolean, and once the character walks into the room, i can toggle the boolean. Now, I can only execute the event if the boolean is triggered.
The only problem with this approach is that I'm left with a variable that I have to maintain for the entire game, just to determine if an event should be triggered at the beginning of the game... This seems off. Is there a better way to do this?
I'm trying to do execute an event when a player first walks into a room, then never execute the event again. I've seen in tutorials that I can create a boolean, and once the character walks into the room, i can toggle the boolean. Now, I can only execute the event if the boolean is triggered.
The only problem with this approach is that I'm left with a variable that I have to maintain for the entire game, just to determine if an event should be triggered at the beginning of the game... This seems off. Is there a better way to do this?