IM a somewhat noob. Help please

Game Editor comments and discussion.

IM a somewhat noob. Help please

Postby CrimsonX » Fri May 26, 2006 12:49 am

I want my character to punch. I get him to punch one way with my a button but i cant get him to do the same on reverse. My question is how to enable my character to punch both left and right.
CrimsonX
 
Posts: 28
Joined: Wed May 24, 2006 2:38 am
Score: 0 Give a positive score

ill try to help

Postby speckford123 » Fri May 26, 2006 4:33 pm

if you mean with the same button
try using the draw actor function
and try

if (animindex==1)
change animation ("punchR")

if (animindex==2)
change animation ("punchL")

//this is assuming your right animation is 1 and left animation is 2
and i could tell u how to put punch on more than 1 animation
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest