Im creating a Side-Scroller + Tower Defense Game, and I have some problems with the systems required to do so.
First, i can’t figure out how to Spawn (Build) a Turrent into an specified location from pressing a button in my HUD.
What i tried so far, was to create an Interface Blueprint between the Game_HUD and both LevelBlueprint and some other class blueprint witch I Called Turrent Spawn.
But it seems that the values of my variables on the HUD Blueprint dont get updated in any of the Blueprints Im working on.
Here is an Example of my problem:
This Image shows the variable that i have in GameHUD and the one witch i need to use to spawn the actor.
This if the BP Interface function inside GameHUD, this colect the value of the variable showned above, and send to the other BP.
This shows the Level BP and the Object Variable i created in order to try to get the value on GameHUD to the Level BP and make the spawn happen. (I exposed the variable in order to get to work, but it didnt)
This is the Spawn Turrent BP i tried toi make and BP Interface event and spawn the actor, but did not work too.
Please Help Me