Answer quickly! (unknown binhconst problem)

Non-platform specific questions.

Answer quickly! (unknown binhconst problem)

Postby Troodon » Mon Feb 19, 2007 11:37 am

Hi,
What's wrong with these lines of my code?
Code: Select all
if (ReactorTemp >= 150 && <= 200)  //it says that this has unknown binhost
{
    ChangeAnimation("LED_reactor", "LED_VI~1", FORWARD);
    Virta = 1;
}
Last edited by Troodon on Mon Feb 19, 2007 11:48 am, edited 1 time in total.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Joshua Worth » Mon Feb 19, 2007 11:44 am

you mean binhconst
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby Joshua Worth » Mon Feb 19, 2007 11:47 am

if (ReactorTemp >= 150 && ReactorTemp <= 200)

you must say the variable again after and(&&)
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby Troodon » Mon Feb 19, 2007 11:47 am

Yeah! You know what's wrong with the code?
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Troodon » Mon Feb 19, 2007 11:48 am

Oh thanks!!!! You saved my day! :D :D :D :D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Joshua Worth » Mon Feb 19, 2007 11:49 am

No problem! :D
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest