Listening to tag change event
Learn more about the Fact Update Task
Ultimate Game Facts includes a very helpful task node which you can use to track any number of global facts. For example, you can add this task node anywhere in an event graph to know when a tag (or a specific tag) was added, updated or removed.
The task node comes with filter tags where it can listen to only given tags or leave it empty to listen to all global fact tags.
Here is an example screenshot where the task node is setup to filter by door open tag.

If you don't prefer to filter tags, you can leave the Optional Filter Tags empty and use == node or switch node like in the screenshot below.

While listening to tags, it might be possible that this task execute when loading from cache. Depending on your project needs you might want to handle it and if you want to, you can use the function Is Loading from Cache

Last updated