Constrain X&Y locations of the actor to attributes that record the X&Y location.
Then, for the second actor, simply use the "Move to" behavior with those locations. Use magnitude to turn it off. If the following actor is too close, then the "Rule" with the "Move to" behavior should stop.
or a far more efficient method would access the actors location directly through the Attribute Browser and Current Scene, Layers, etc. This requires the actor doing the following to be an unlocked instance.
@Stu looks like we posted at the same time...that wiki needs updating:)
Rob2 said: or a far more efficient method would access the actors location directly through the Attribute Browser and Current Scene, Layers, etc. This requires the actor doing the following to be an unlocked instance.
But wouldn't that be tedious if you have a lot of scenes and actors populating that scene since you'd have to edit each actor?
Comments
Constrain X&Y locations of the actor to attributes that record the X&Y location.
Then, for the second actor, simply use the "Move to" behavior with those locations. Use magnitude to turn it off. If the following actor is too close, then the "Rule" with the "Move to" behavior should stop.
The Unofficial GameSalad Textbook might help you with this stuff.
http://gamesalad.com/wiki/how_tos:gsc_follow_another_actor
@Stu looks like we posted at the same time...that wiki needs updating:)