change power by changing actors (resolved)

Hello @Hector40 the way I would do it is by just creating 3 actors BP_Power_Up_Cube and the other two actors BP_Mushroom and BP_Leaf.

The cube has a variable that holds the class that’s it’s going to spawn when hitted. The default value for this variable is BP_Mushroom.

When the mushroom power up is spawned and picked up it gets all power up cubes in the world and set their Power up actor class variable to BP_Leaf.

If you need help setting that up let me know I will be happy to help.