how I can make a character follow another

isabelaqisabelaq Member Posts: 28
edited November -1 in Working with GS (Mac)
hello, a need asking one question: how I can make a character follow another way in which the actor pursues an enemy?, not how sliding prollectil, but a character that does not slide straight muve, the help page are two obtiones but not if which serve in this case I could say which is correct orfavor thanksx

Comments

  • isabelaqisabelaq Member Posts: 28
    hello, I need asking one question: how I can make a character follow another way in which the actor pursues an enemy?, not how sliding proyectil, but a character that does not slide straight muve, the help page are two optiones, but I don´t know which serve in this case, I could used which is correct orfavor thanksx
  • isabelaqisabelaq Member Posts: 28
    hello, I need asking one question: how I can make a character follow another way in which the actor pursues an enemy?, not how sliding proyectil, but a character that does not slide straight muve, the help page are two optiones, but I don´t know which serve in this case, I could used which is correct orfavor thanksx
  • RedlerTechRedlerTech Member Posts: 1,583
    Continuous or once?

    Make 2 Attributes ActorX & ActorY (real)

    Go into your actor that will be followed and say:
    --Constrain self.position.X to ActorX
    --Constrain self.position.Y to ActorY

    Go into your actor to follow the other actor

    If Once,

    Move To: ActorX, ActorY

    If Continual,

    RULE: When self.position.X doesn't = ActorX & self.position.Y doesn't = ActorY
    Move To: ActorX, ActorY

    Matt :D
    _________________________________________________
    Full Game Creation Service
    1 On 1 Project Help
  • isabelaqisabelaq Member Posts: 28
    hohoho yea that its, meny thanks
  • RedlerTechRedlerTech Member Posts: 1,583
    No problem :D
    Did you end up doing once or continuos?

    Matt
Sign In or Register to comment.