So I have made an actor to spawn my AI . I would like to have a widget somewhere to control weather the AI spawns or not . But I cannot for the life of me figure out how to get them to communicate together . I’ve made a interface of the spawner and tried to call in in the widget . I’d tried to ask the widget to spawn AI . Everything . Please help
Use spawn actor in an event that fires when the widget is interacted with. Then if you need to be able to control the spanned actor, promote it to a variable after spawn.
So I’m making a “ shop keep “ game lol . And the “ computer “ is the main menu . I want it to be an open / close tab on the computer . So I’ve tried to make an event that fires when the open/closed buttons are pushed but it doesn’t stop the AI .