OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Stingray200 on 27 Jan 2005, 03:54:56

Title: question
Post by: Stingray200 on 27 Jan 2005, 03:54:56
Hello I'm new to this scripting stuff I downloaded Chris's  OFP Script Editor and I was wandering where do you save the script file? Like
I said I'm new to this.
Thanks
Title: Re:question
Post by: The-Architect on 27 Jan 2005, 06:30:50
when you create a mission it is saved in a folder in,
users/yourname/missions

The name you gave your mission when you saved it in the editor will be the name given to a folder in this folder. Open it and you'll find a mission.sqm, put your script in with this file.
Title: Re:question
Post by: macguba on 27 Jan 2005, 11:28:24
Welcome to the forum, Stingray200!  :wave:

If you're new to scripting you'll find the following useful.    All are in the Editors Depot.

snYpir's A Friendly Intro to Code Snippets
Johan Gustafsson's Scripting Tutorial
macguba's Tutorial Mission (working scripts "in the field")

Online version of the command reference
Unofficial command reference guide
Title: Re:question
Post by: Stingray200 on 27 Jan 2005, 14:31:03
thanks
Title: Re:question
Post by: Dubieman on 27 Jan 2005, 18:25:20
Welcome, and I just wanted to add something cause Thobson and Mac already answered the question.

I just found that making a new folder in the Codemasters/OFP folder called Scripts is pretty helpful. Almost all good scripts I've used in the past or messed with are in there, so I don't have to go through other mission folders again or download off of OFPEC again. Just thought I'd add that, cause its helpful to me. ;)
Title: Re:question
Post by: THobson on 27 Jan 2005, 18:27:35
GRK, you must be thinking of another thread. :)
Title: Re:question
Post by: Dubieman on 27 Jan 2005, 19:05:52
Maybe I am, too much multitasking....

bad GRK

*hits himself* :help: