[Feature Request] CSC - add a when "value changed" option to Event Triggers
Posted: Mon Oct 10, 2022 8:47 pm
I think it could make certain things easier if there was an option for an event to be triggered when a defined value changes.
For example, a spin the bottle game.
Player interaction
"spin bottle" -> sends game event "random int value (0,7)" - set to "player_landed_on_int" value
Play event trigger
"handle spin bottle" ->
when "player_landed_on" int Equal 1 -> send game event modify value "landed_on_patrick" equals 1
"handle land on patrick"
when "landed_on_patrick" Equal 1 ... do stuff
fwiw I think I can accomplish the same outcome using player interactions, but still working on testing it. But I think it could still be a nice feature for the CSC
For example, a spin the bottle game.
Player interaction
"spin bottle" -> sends game event "random int value (0,7)" - set to "player_landed_on_int" value
Play event trigger
"handle spin bottle" ->
when "player_landed_on" int Equal 1 -> send game event modify value "landed_on_patrick" equals 1
"handle land on patrick"
when "landed_on_patrick" Equal 1 ... do stuff
fwiw I think I can accomplish the same outcome using player interactions, but still working on testing it. But I think it could still be a nice feature for the CSC