Sarge
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 > Problem whit scripts
 
Author
All times are GMT. The time now is 15:04. Post New Thread    Post A Reply
Swec
Junior Member


Posts: 128
Registered: 08-09


I don't get this codes to work
All id tags is right dubbel checked that. So why don't this work?
First time i play whit scripts so..

code:
#include "zcommon.acs" script 1 OPEN // Start script ambush 1 { Thing_Activate (111); //Thing ID for the spark object delay(12); //Delay in Tics restart; //Restarts the script } Script 2 OPEN // Start script computer panel stimpack { delay(30); //Delay in Tics/Light blinks Light_ChangeToValue(51,255); //Sector Tag, Light Value delay(2); Light_ChangeToValue(51,168); //Old light value restart; } Script 3 OPEN // Start script { delay(46); //Delay in Tics/Light blinks Light_ChangeToValue(78,255); //Sector Tag, Light Value delay(2); Light_ChangeToValue(78,168); //Old light value restart; } #include "zcommon.acs" script 4 OPEN // Start script Lava pit starting point { Sector_SetColor(104, 210,30,30); //Sector Tag, Value Red,Green,Blue Lava pit }


When i hit the button to 'test' the script i get no errors and i don't have any errors i my map (but that function is not 100% safe to trust on i have discovered)

Maybe i can remove the second
#include "zcommon.acs"
But i didn't work before i put script 3 and 4 there so i am confused.

//Martin

Old Post 03-10-10 16:29 #
Swec is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 15:04. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Problem whit scripts

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.

Forums Directory