Restore life
Posted: Thu Nov 01, 2007 3:56 pm
HHHIIIIII!!!! I post this topic to ask how to makea "restor life"? Likeif sangoku takes a hamburger,he'll recover 25 percents of his lif e?
life = life + 25;
health++;
DestroyTimer("Increase");
if(attack==1)
{
health++;
}
if(right==1)
{
ChangeAnimation("EventActor","PunchRight",FORWARD);
attack=1;
}
if(right==0)
{
ChangeAnimation("EventActor","PuchLeft",FORWARD);
attack=1;
}
ChangeAnimation("EventActor","StopRight",FORWARD);
attack=0;
ChangeAnimation("EventActor","StopLeft",FORWARD);
attack=0;