Associate actor to other actor (hero to target)
ronre
Member Posts: 38
hello,
i watched this post, that show how to make actor to move in zig-zag:
http://forums.gamesalad.com/discussion/56401/zig-zag-motion
my question is what is the rule or specific part that make a connection between the actor and the target?
for example, i have 5 actors with 5 targets for each actor and i want to connect between them.
thank you!
Comments
That involves constraining two game attributes to an actor's self.Position.X and Y and then constraining another actor's self.Position.X and Y to those two game attributes.
Here's a demo: http://forums.gamesalad.com/discussion/comment/384027/#Comment_384027.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
thanks Tatiang.
i have download the "fishy.zip" zig-zag from the post that i showed.
i created another target and another hero and i want to connect between them (i want the hero to move to the target). the names is targetwo and herotwo.
can you see this file and give me explain what i need to change/add?
cd8ba0b44a15c10065fd-24461f391e20b7336331d5789078af53.r23.cf1.rackcdn.com/gamesalad.vanillaforums.com/editor/kq/xmuzbxdftkuy.zip