Checking Variables on Interaction (or Other Event)

StStarship ForgeDec 11 201608426
    Halo and Forge Discussion

The new variable options we have are awesome. We can assign variables, and dynamically check them against some number (or other variables). This is quite easy when you simply want something to happen as soon as a variable matches some criteria, but what about the times we want to check a variable at the time some event happens, like say a user interaction? The game doesn't give us any way to link two conditions. I mean, we have message/power multi, but that's only good for binary checks, and still can't be linked directly to events like user interactions.

Well, I found a way. You put the variable check script into a script brain, disable "Always Run" for that script, then set the script brain to despawn at match start, and include one final script to allow it to respawn using either a message or a power channel.

Then, when the event occurs(say for example a player interacts with a switch), then as one of the script actions, you would spawn in that script brain.