Is there a way to check if a key is not down?
For instance:
if (IsKeyNotDown(What ever key)).
Just so that I'm able to select weapons without jumping to the next one every frame but instead every time i press the button. Theres probably something in the manual but i can't find it so is there anyone that could help?
Thanks
IsKeyNotDown?
Re: IsKeyNotDown?
Negation should do the trick. In Simkin it's as follows, if I remember correctly:
or
Code: Select all
if(not IsKeyDown(What ever key))
Code: Select all
if(IsKeyDown(What ever key) = false)
Pain is only psychological.