Page 1 of 1

script not loading

Posted: Thu Mar 04, 2004 10:44 pm
by Splaetos
argggggggg

anyone have any idea why my script wont work at all?

the script is named lib_gefangnis.scr

in it i have ... level.script = maps/obj/lib_gefangnis.scr

but when I run the map I get....

Code: Select all

^~^~^ Script file compile error:  Couldn't compile 'maps/obj/lib_gefangnis.scr'
ScriptMaster::GetScript: Script 'maps/obj/lib_gefangnis.scr' was not properly loaded
3/4 of the rest of the script has been commented out, jsut in case uncecessary things were causing problems... I cant figure what the hell is wrong.

are there any things that commonly cause thie problem?


EDIT~~~~~ apparently the problem was my attemtpt to define the value of a variable used to keep triggers from overlapping....

If you define a variable, that is not used at all within the map... it should be like axis_trigger, not $axis_trigger?

Posted: Thu Mar 04, 2004 11:55 pm
by nuggets
it should be level.axis_trigger