Actor does not stop.

gawakamygawakamy Member Posts: 109
edited April 2012 in Working with GS (Mac)
Hi, GS dudes.
I made a monster is walking forward (X coordinate) with move behavior. The monster must be stopped when it's HP is zero, but I have no idea how to stop it.

Best Answer

  • MotherHooseMotherHoose Posts: 2,456
    edited April 2012 Accepted Answer
    Move is a Persistent Behavior … that is it will continue

    to stop a moveBehavior … place that behavior in a rule

    EX: on monsterActor
    Rule: when
    Attribute: self.HP > 0
    -Move behavior

    @};- MH

Answers

Sign In or Register to comment.