Problem description:
Specifically, I want players to be able to (for example) hold "attack", and be able to repeatedly call the code for attacking - while being able to fluidly move. And not have one command cancel the other.
Does this mean messing around with flags like Keydown/ispressed and the like (if such flags exist, I can't find them).
Copyright © 2024 BYOND Software.
All rights reserved.
You'll have to track keypresses and keyreleases yourself. There is no way to check if a key has been pressed or released. The best you can do is store that information yourself by defining a +UP macro.