How do I make a score do something
Posted: Fri Nov 27, 2009 2:21 am
In the game that I'm making, I'm trying to make it so that when a certain score is reached, a character appears on screen. How do I that?
Thanks
HE
Thanks
HE
Game Editor discussion board
http://game-editor.com/forum/
if(score==10)
{
CreateActor("actorName", "animName", (none), (none), view.width/2, view.height/2, false);
}
if(score==10 && ActorCount("actorName")==0)
{
CreateActor("actorName", "animName", (none), (none), view.width/2, view.height/2, false);
}
score++;
if(score==10)
{
CreateActor("actorName", "animName", (none), (none), view.x+view.width/2, view.y+view.height/2, true);
}