Accessing Self Attribute of Spawned Actor
Mattcus
Member Posts: 85
Ok. So in my game I have a cannon which shoots balls at the player, the player must tap on the balls to target them before they get to the main character. when the ball is tapped, it's self attribute Targeted is changed to true. I want the character to play an attack animation if the ball is targeted and hit him, and a different animation if the ball is not targeted.
How would I do this because there are multiple balls on screen at a time and the balls are spawned and are not in the scene to start off with.
How would I do this because there are multiple balls on screen at a time and the balls are spawned and are not in the scene to start off with.
Comments
Hope that made sense!