Page 1 of 1

DilloDude, Thank you

PostPosted: Mon Oct 25, 2010 1:33 am
by NightOfHorror
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

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

PostPosted: Mon Oct 25, 2010 1:52 am
by DilloDude
  1. You need to use == instead of = when making a comparison.
  2. You don't need a semicolon after the if statement.

Re: DilloDude, Thank you

PostPosted: Mon Oct 25, 2010 9:20 pm
by NightOfHorror
+1point for you DilloDude :D