Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Problem whit scripts

Recommended Posts

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..

#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
Light_ChangeToValue(51,168); //Old light value
Script 3 OPEN // Start script
delay(46); //Delay in Tics/Light blinks
Light_ChangeToValue(78,255); //Sector Tag, Light Value
Light_ChangeToValue(78,168); //Old light value

#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.


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now