I have a character, that uses two buttons: one for a PUNCH, another for a KICK. For those events I use "on PRESS".
Is there any way to trigger pressing PUNCH & KICK at the same time, but not by "ON KEY DOWN" (Key down works differently then press. DOWN triggers the event continuosly, while PRESS triggers is only once /similar to DOWN and immediately RELEASE/).
I wish to emulate something like:
-> On key pressed O
-> On key pressed P
not like this:
-> on O down
-> on P down
I know that I can't really do the first, because its triggers, and it looks like I can use only one trigger at a time.
The problem that occures with me is that:
When I press DOWN the O+P keys, first an event under O starts and then/after, the right O+P event.
It looks like my character, after pressing O+P, first punch (O), and then do super-move (O+P).
I also don't want to use ON DOWN for punching/kicking, other wise the player can just hold the button and punching will be run continuosly until player releases it.
Any help will be appreciated.