1
Ask a Question / Behaviors referring to the same attribute
« on: May 01, 2017, 02:50:20 am »
I'm making a chess-like game where I want the player to select a Rook actor, and then select an actor of a different group and make the Rook move to the actor.
I having trouble figuring out how to make the Rook actor move to the space where the other actor is. I can reference the Rook as the selected Actor in it's behavior, but how do I reference that same attribute in the Actor Behavior for the other actor?
I read a similar question saying I need to make a Scene behavior, but I'm hoping to get a little more detail.
Thanks so much!!
I having trouble figuring out how to make the Rook actor move to the space where the other actor is. I can reference the Rook as the selected Actor in it's behavior, but how do I reference that same attribute in the Actor Behavior for the other actor?
I read a similar question saying I need to make a Scene behavior, but I'm hoping to get a little more detail.
Thanks so much!!