Best way to Constrain two actors based on frame in animated behavior

jdgouldjdgould Member, PRO Posts: 114
edited June 2012 in Working with GS (Mac)
I am creating a game that spawns an animated actor (eye blinking) and need help aligning 2 actors based on the frame in the animation. For example, when I spawn the first Actor (Left eye), it starts the blinking sequence I have created in the animation behavior. When I spawn the second Actor (Right eye), I want that actor to blink at the same time as the first eye. In other words I want the eyes to blink together.

I thought maybe I could create a game attribute that is tied to which frame an actor is on in the animation sequence, but that doesn't seem feasible and it seems like I might be overcomplicating this.

Any advice would be appreciated.

Answers

  • jdgouldjdgould Member, PRO Posts: 114
    The eyes do need to be spawned and can't be part of the main image. The user can span different eyes if they choose to. For example the user can select from 10 different eye options, but if they select the same right eye as the left eye already selected, I would like them to be in sync.
  • jdgouldjdgould Member, PRO Posts: 114
    Thanks tshirtbooth, I will give it a shot.
Sign In or Register to comment.