Baron of Hell
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > [Resolved] ACS "Missing )" Problem
 
Author
All times are GMT. The time now is 08:07. Post New Thread    Post A Reply
Phendrena
Junior Member


Posts: 180
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

Old Post 03-06-13 12:42 #
Phendrena is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Blue Shadow
Member


Posts: 298
Registered: 09-12


In the line where it points out the error, the "=" should be "==".

Old Post 03-06-13 13:35 #
Blue Shadow is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Phendrena
Junior Member


Posts: 180
Registered: 09-12



Blue Shadow said:
In the line where it points out the error, the "=" should be "==".
Thank you!! I knew it would be something obvious that I'd overlooked!!!

Dave

Old Post 03-06-13 13:37 #
Phendrena is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 08:07. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > [Resolved] ACS "Missing )" Problem

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.