OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: masterofgames on 17 Jun 2003, 00:23:32
-
i got some script snippets i put them to the my own mission (folder too) they say, as an example "script paradrop.sgs not found" in the preview but says no errors when i put it on the map. So could somebody tell me why?
-
When you add a script file to your mission folder, go back to the editor and save your mission again BEFORE previewing it. That will fix your problem.
Briefly, everytime you add a script, save your mission.
Frag
-
i got some script snippets i put them to the my own mission (folder too) they say, as an example "script paradrop.sgs not found" in the preview but says no errors when i put it on the map. So could somebody tell me why?
Okay, a couple of things .... Make sure you have put this script "paradrop.sqs" in the correct mission folder.
i.e. OPflash/Users/(Username)/Missions/(NameOfMission)
Also check the spelling of the script and wherever you called (exec) the script from a trigger or WP,etc. If you're off a letter, that could be it.
i.e.:
Trigger -West -Present
On Activation: P1 Exec "paradrop.sqs"
-
Are u sure u have typed correctly? The standard is [] exec "paradrop.sqs", NOT sgs. And I dont have to save my mission when I add a script... just addons, I have to quit OFP when I add those :-\
-
You noly have to re-save the mission if you have changed the description.ext (like if u added the sound.)
Also, usually you have to give an Array for parachuting scripts.
Just follow the instructions with the script. And make sure u place it in the mission folder
-
1) make sure its in the mission folder youre working on
2) Make sure the sqs filename is spelled right and matches the name in the trigger menu