DilloDude, Thank you

Non-platform specific questions.

DilloDude, Thank you

Postby NightOfHorror » Mon Oct 25, 2010 1:33 am

I am trying to connect two separate geds together, level1 and 2, but each time I put codes in, it automatically loads level2. What did I do wrong.
Variable:Enemy_Count
enemy<CreateActor<Script<Enemy_Count=18;
enemy<Collision<Any side of missile<Script<Enemy_Count--;
enemy<DestroyActor<Script<if(Enemy_Count=0);{LoadGame("Trip to Mars240x320Level2.GED")
Please help
Last edited by NightOfHorror on Mon Oct 25, 2010 9:20 pm, edited 1 time in total.
viewtopic.php?f=2&t=12136
"I have not failed. I just found 10,000 ways that wont work." quoted by Thomas Edison.
Over the year, I decided my motto for me is I am knowledgeable, but not practical.
User avatar
NightOfHorror
 
Posts: 1823
Joined: Fri Aug 27, 2010 2:50 am
Location: Cedar Hill, MO, of the USA
Score: 51 Give a positive score

Re: Having trouble with a little thing..again:P

Postby DilloDude » Mon Oct 25, 2010 1:52 am

  1. You need to use == instead of = when making a comparison.
  2. You don't need a semicolon after the if statement.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Re: DilloDude, Thank you

Postby NightOfHorror » Mon Oct 25, 2010 9:20 pm

+1point for you DilloDude :D
viewtopic.php?f=2&t=12136
"I have not failed. I just found 10,000 ways that wont work." quoted by Thomas Edison.
Over the year, I decided my motto for me is I am knowledgeable, but not practical.
User avatar
NightOfHorror
 
Posts: 1823
Joined: Fri Aug 27, 2010 2:50 am
Location: Cedar Hill, MO, of the USA
Score: 51 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest