OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: masterofgames on 17 Jun 2003, 00:23:32

Title: Really much help needed
Post 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?
Title: Re:Really much help needed
Post by: frag on 17 Jun 2003, 00:43:40
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
Title: Re:Really much help needed
Post by: Mr.BoDean on 17 Jun 2003, 00:44:21
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"
Title: Re:Really much help needed
Post by: dmakatra on 17 Jun 2003, 10:41:38
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 :-\
Title: Re:Really much help needed
Post by: Ace on 17 Jun 2003, 10:58:51
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
Title: Re:Really much help needed
Post by: _Ross_ on 17 Jun 2003, 19:37:24
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