Script problem

Talk about making games.

Script problem

Postby will97 » Sun Nov 12, 2006 3:43 pm

Is there sombody here that can tell me what s wrong with this script:
Code: Select all
if(scor.textNumber>95);
{
    CreateActor("end", "icon", "(none)", "(none)", -100, 150, false);
}
User avatar
will97
 
Posts: 11
Joined: Sun Nov 12, 2006 3:40 pm
Score: 0 Give a positive score

Postby sonicfire » Sun Nov 12, 2006 3:53 pm

Mhh maybe "score" instead of "scor"?
Check if all the names are correct!
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Postby Fuzzy » Sun Nov 12, 2006 5:17 pm

take the semi colon ';' off the end of the line with the if.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby sonicfire » Sun Nov 12, 2006 6:34 pm

:x Doh! Haven´t seen that :D
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

Postby will97 » Tue Nov 14, 2006 11:41 pm

:D tank you :D
User avatar
will97
 
Posts: 11
Joined: Sun Nov 12, 2006 3:40 pm
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest