How can I make my actor (probably a kung fu fighter) deduct its opponent's life not until when the kick/punch button is pressed.
I know on collision event can't work here Please Help me
int punching;
int kicking;
int OpponentHealth;
punching = 0;
kicking = 0;
punching = 1;
kicking = 1;
if(punching == 1)
OpponentHealth -= 5;
if(kicking == 1)
OpponentHealth -= 10;
Ehman wrote:Thanks a lot!
You must have been familiar with C Language as I can see that you are a new member here.
Ehman wrote:Pretty Good, Then using GE is quite easy then...
Users browsing this forum: No registered users and 1 guest