script not loading

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Splaetos
Major General
Posts: 730
Joined: Tue Jan 20, 2004 2:55 pm
Contact:

script not loading

Post 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?
When I am king, you will be first against the wall~
Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

it should be level.axis_trigger
hope this helps, prob not cos it's all foreign 2 me :-/
Post Reply