Hello,
I have a character that I want to have PUNCH with his fists
when the SPACE key is pressed...
However, I would like to have this character TOGGLE back
and forth between LEFT and RIGHT PUNCHES with each SPACE key
press...
Example:
SPACE key Pressed = Select Frame0 (LEFT PUNCH)
SPACE key Pressed = Select Frame1 (RIGHT PUNCH)
I am having trouble testing a boolean state.
I can create a Global variable or Instance Variable (BOOLEAN)
but I can't find a method to TEST the current state.
If PunchLR = True then...
or
If PunchLR = False then...
Any ideas to get my DUDE to TOGGLE PUNCHES with just ONE SPACE key press???