How to save info in different instances of widgets

It does!

In the silo actor:

This translates to: whenever Editable Text widget’s text is changed, notify the owning silo actor and set the variable. Actors and widgets already come with a bunch of delegates, as above. If the widget sends only text, this should be enough. But you can also add your own Event Dispatchers who can carry desired data.


how do I call the custom event

What happens in the game? What triggers the interaction with the silo? When do you need to do it? Generally speaking, you’d obtain a reference to the silo via:

  • Linetrace - player clicks the silo
  • Overlap - a fully loaded truck arrives at the silo
  • Hit Event - a tree falls on the silo
  • the GetAllActorsOfClass node - you need them all because you’re about to save their data

Once you have a reference, call a custom event.