if (gamepad.GetAxis(0) < -20) \
{
do stuff
}
That type of "function" where you clearly should add forexample i guess the left button, but its not being used now, its been solved another way, which interests me.
So what i mean is here is that version of the button im going to use for the Z assigned keyboard.
As the example from the ags controller thread on here:
if (gamepad.IsButtonDownOnce(11))
{
//click on Z button to get a punch.."guess working again"
}
my Z button is in the Actions. This type of code not posting the whole code, no point in doing that.. Then i "get it". I hope....
Actions.Asc
if (IsKeyPressed(eKeyZ)) //PUNCH BUTTON HERE COMES THE MESS; Här börjar RÖRAN :DDDDDDDDD!
{
if (cAxl.Loop==2 || cAxl.Loop==3 || cAxl.Loop==4 || cAxl.Loop==5) //RIGHT PUNCH HIT, All loops are RIGHT/positioned player v_Axl_WalkAction
{