Warudo
Not enough ratings
Variable Watcher node and Simple State Manager node
   
Award
Favorite
Favorited
Unfavorite
Type: Plugins
File Size
Posted
26.700 KB
12 Mar, 2024 @ 6:43pm
1 Change Note ( view )

Subscribe to download
Variable Watcher node and Simple State Manager node

Description
A pair of simple but powerful nodes: Variable Watcher sends a flow signal on the frame it detects a change in a blueprint variable, and Simple State Manager fires appropriate Active/Inactive flow signals when "Next State Check" does not match it's "State Active" value.

Variable Watcher Node reads the value of a blueprint variable to the last value the node was holding once per cycle, firing the "On Update" flow signal when it detects a difference from last cycle. I would have liked to do a true "Observer"-like method, but this should work unless you REALLY needed this node to fire more than once per update or detecting a value changing off

Simple State Manager can be used for setting off logic when you change OBS scenes, when an asset enters/exits a radius from another asset, and anything else that can be boiled down to a boolean value but only want it going off when you "enter" or "exit" instead of firing constantly.

Couple these two nodes together alongside some logic to read a blueprint variable and compare it to something in some way and I bet y'all could do something really impressive!