[Help] When score = 550, create actor
Posted: Mon Sep 28, 2009 5:26 pm
Hello,
I have a new question.
When my score is 550, I want that an actor is created.
I am using the following script. (LOL, I know I don't have to use the script editor, but that's the only way I saw).
But the only thing it does, is setting the score to 550 on start-up.
I have a new question.
When my score is 550, I want that an actor is created.
I am using the following script. (LOL, I know I don't have to use the script editor, but that's the only way I saw).
- Code: Select all
if (score.textNumber = 550)
{
CreateActor("game_complete", "icon", "(none)", "(none)", 49, 10, true);
}
But the only thing it does, is setting the score to 550 on start-up.