No key pressed
Fafnir312
Member Posts: 161
I don't see a way to check if no key is pressed. Is there a way to set up a rule: "if no key is pressed then whatever"?
If I use "if key x is up then whatever" then key x has to be pressed first before registering as being up. I can work around it but this would be a useful feature (unless I'm just not seeing it).
If I use "if key x is up then whatever" then key x has to be pressed first before registering as being up. I can work around it but this would be a useful feature (unless I'm just not seeing it).
Comments
what exactly are you trying to do/setup? someone may figure it out if you explain the purpose.
noodles...
I think I'm just going to have to flowchart the whole thing and figure out exactly how I'm going to do this. If anyone has good ideas on creating/mapping out a FSM I'm all ears... er... eyes.
On a plus note, my player character just killed her first bad guy! Yay! :P
Rule: If key ??? is down
--Change Attribute: game.aKeyIsDown = true
Otherwise:
--Change Attribute: game.aKeyIsDown = false