Variable State Listener
Posted: Thu Feb 10, 2022 12:31 pm
Hello,
I'm looking to trigger an event when a particular variable is flipped, and I was wondering if there was functionality similar to the Quest State Listener. I was using a Quest State Listener at first, but realized that it wasn't quite right given my set up.
I see how I could also use a Sequencer Command, however it feels clunky given I have a helper script that is already set up in the hierarchy that I would like to simply trigger - but as far as I can tell Sequencer Commands can't point to objects I've set up in the scene (unless I use a singleton, which I'd like to avoid).
Apologies if I've missed something! Any advice would be helpful
I'm looking to trigger an event when a particular variable is flipped, and I was wondering if there was functionality similar to the Quest State Listener. I was using a Quest State Listener at first, but realized that it wasn't quite right given my set up.
I see how I could also use a Sequencer Command, however it feels clunky given I have a helper script that is already set up in the hierarchy that I would like to simply trigger - but as far as I can tell Sequencer Commands can't point to objects I've set up in the scene (unless I use a singleton, which I'd like to avoid).
Apologies if I've missed something! Any advice would be helpful