OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: jznomoney on 04 Jan 2003, 04:47:06
-
I made a map referencing a script called tracker.sqs. now it worked right the first time i used it. but then when i edited it again and saved it out as a new map name it comes up saying cannot find tracker.sqs
It worked right the first time and the script is in the folder with the map
-
When you save a map you have been working on using a new name, only the mission.sqm is placed in the "Newmapname" folder it creates.
Simply copy everything else over to this new folder and it will work fine.
Also a debugging tip when creating maps
At the start of every new script you create write the line
titleText["Starting *****.sqs", "Plain Down"]
and at several important intervals throughout.
This is how you find out what line is causing problems in a script that doesnt work
Once you know the script is working okay, either delete the line or place a ; at the start