How do I reset an attribute?

MrPapasapaMrPapasapa Member Posts: 0
edited June 2012 in Working with GS (Mac)
I have an actor that when space is down then change attribute game.jump to 1. Then in the jumpers behaviors I have if attribute game.jump= 1 then accelerate up for 0.7 sec. Finally I have otherwise change attribute game.jump to zero. If anyone can help me reset the attribute I would appreciate it. Otherwise a tutorial on how to make an actor jump would help.

Answers

  • master200012master200012 Member Posts: 372
    What I believe is happening is the rule is only applying once. Thus, try this rule separately:

    If key(space bar) is down:
    (initiate jump function)

    That should do it. :)

    Good Luck!
Sign In or Register to comment.