I have a bunch of gates (brains with an boundary) with different spawn orders, just like in the race gametype. I want to set a global channel, say Global:Golf to a value (3), and then have all the gates watching for Number:Change on Global:Golf. If they see that number now equals their Spawn Order, they do something. I could not figure out how to compare to their spawn order.
As a test, I tried taking of my gates and setting it so when a player enters the boundary, it does: Number:Change > Object > Set > Game Value> Spawn Order> THIS. I thought this would set the Object:Number of my gate brain to the Spawn Order of my gate brain.
I then set up a WHEN - Number:Check > Object > Equals > Constant > 10 DO - Play a sound.
I set the Spawn Order to 10 in the properties.
I then walked in to the boundary and didn't hear any sound.
As a more general additional question, does Number:Change fire every time a number actually changes value, or every time its re-written? i.e. If I'm setting Global:alpha to 3 every 2 seconds, and I have some other action that is watching that channel, will that other action trigger every 2 seconds?