I wanna make a game logic that player spawn his troops agaisnt enemy troops and start round to let them fight. To do this i created a bHasRoundStarted in game mode and set it true after a custom event. I call this event in UI blueprint when pressed a screen button that starts round.
I have this behavior tree below. It handles ai’s move to closest enemy and play hit animation (there isn’t any damage calculation or hit reaction just yet).
Now i want to add a functionality to check if the round has started. Do those things just after the round started. I have a bool in game mode blueprint and another bool in blackboard for round state. I dont know where to change this bool values and how to check their values in behavior tree.