How do I reset an attribute?
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
If key(space bar) is down:
(initiate jump function)
That should do it.
Good Luck!