Game A Gogo wrote:make it
- Code: Select all
if(score<200)
not
- Code: Select all
if{score<200}
if thats not it, then i must be blind, (its hard to see because of the BG of the window)
ok, just took a closer look, and they are ( ) and not { }, sorry.
Game A Gogo wrote:make it
- Code: Select all
if(score<200)
not
- Code: Select all
if{score<200}
if thats not it, then i must be blind, (its hard to see because of the BG of the window)
Diana Kennedy wrote:Oh, my head smokes...Okay, I will try out the last.
And as for the question "score" is the actors name that displays the score. A text actor.
Thank you so much for looking into this.
if (score.textNumber>=3000)
CreateActor("platin", "platin", "(none)", "(none)", -47, -49, true);
else if (score.textNumber<3000)
CreateActor("gold", "gold", "(none)", "(none)", -47, -49, true);
else if (score.textNumber<2000)
CreateActor("tin", "tin", "(none)", "(none)", -47, -49, true);
if (score.textNumber>=3000)CreateActor("platin", "platin", "(none)", "(none)", -47, -49, true);
else if (score.textNumber<3000 && score.textNumber<2000)CreateActor("gold", "gold", "(none)", "(none)", -47, -49, true);
else if (score.textNumber<2000)CreateActor("tin", "tin", "(none)", "(none)", -47, -49, true);
...
else if (score.textNumber > 2000 && score.textNumber < 3000)
{
CreateActor("gold", "gold", "(none)", "(none)", -47, -49, true);
}
...
if (score.textNumber>=3000)CreateActor("platin", "platin", "(none)", "(none)", -47, -49, true);
else if (score.textNumber > 2000 && score.textNumber < 3000)
{
CreateActor("gold", "gold", "(none)", "(none)", -47, -49, true);
}
else if (score.textNumber<2000)CreateActor("tin", "tin", "(none)", "(none)", -47, -49, true);
Users browsing this forum: No registered users and 1 guest