How to stop movement

GuaveMediaGuaveMedia Member, PRO Posts: 1,262
edited November -1 in Working with GS (Mac)
How to solve the problem, when an attribute equals 3, my actor should not react on all things I programmed like move left and so on...

Comments

  • svnsvn Member Posts: 445
    Create a Boolean attribute called Movable. Then create a rule. When Game.an attribute is 3, then change attribute Moveable to false. In your actor create a rule: When attribute Movable is true: here, put all your motion rules and behaviors. Now when Game.an Attribute is 3, your actor will not move or do anything.
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    the moveable attribute cant be changed in game.

    So what you want to do is have all your move rules and everything in a rule when attribute does not equal 3

    cheers
  • svnsvn Member Posts: 445
    Yeah, that's what I meant John. I just called the attribute Moveable because the name seemed logical.
Sign In or Register to comment.