Having problems with Adding Lives
Posted: Tue Feb 21, 2012 6:43 pm
So this is what i'm doing...
Score->DrawActor->Script->
}
I've tried putting this code in the Lives Actor under Draw Actor, but It still doesn't work..
The number just continuously rises.. on the other hand, when I put this code in the Create
Actor event, nothing happens at all.
I have a Variable for both, My Lives, and Score.
Anybody know what I'm doing wrong?
Score->DrawActor->Script->
}
- Code: Select all
if(Score.textNumber>=1000)
{
Lives.textNumber=Lives.textNumber+1;
I've tried putting this code in the Lives Actor under Draw Actor, but It still doesn't work..
The number just continuously rises.. on the other hand, when I put this code in the Create
Actor event, nothing happens at all.
I have a Variable for both, My Lives, and Score.
Anybody know what I'm doing wrong?