Phendrena
Junior Member

Posts: 118
Registered: 09-12 |
Hi,
I have the following script, however when I try and compile the editor tells me i am missing a ')'. If I comment out the second part of the if statement 'Else if' then the script compiles fine. I can't see where or why it needs the closed bracket.
code: Script 100 (void)
{
Door_Close (129, 128);
Delay (1*35);
Thing_Move (20, 133, 1);
Teleport_NoFog (140);
Delay (2*35);
Pillar_Open (141, 8, 0, 0);
Delay (10*35);
if (Gameskill () <= Skill_EASY)
ACS_Execute (101, 0);
Else if (Gameskill () = Skill_Normal)
ACS_Execute (102, 0);
Else
ACS_Execute (103, 0);
}
Here's a screenshot too:
http://farm9.staticflickr.com/8377/8534201198_201c53c716.jpg
Perhaps I am just being thick but does anyone have any suggestions?!?!
Thanks,
Dave
Last edited by Phendrena on 03-06-13 at 13:42
|