Download

Is there a blueprint node to make something happen when actor is spawned?

Hi,

I’m working on a tower defense game and am working more specifically on a currency system for placing towers.
I have the basic functionality working as in defining the max currency value and connecting it to the hud.
But is there something I can put in my tower blueprint that basically sais something on the lines of “when spawned” so that I can then deduct a value from the player’s currency?

In addition to what I’ve said the mechanics that are in place for placing towers includes ghosting so the player can see they’ll be placing the tower before actually placing it.

Yes, it is an event, called “Event Begin Play”, attached nodes to this event (on the event graph) fire on spawn.