Jump to content
Sign in to follow this  
boboNuts

scripting

Recommended Posts

you said a mouth full it is, wat kind of script u wanna make because ther are alot of tutuorials u can use

Share this post


Link to post
Share on other sites

There are infinate amount of scripts. more info!!!

Share this post


Link to post
Share on other sites

In basic?

Script is an external file, which you place in your ..\OFP\users\userName\mission\missionName folder. The script file can be/is built up by the different commands available.

If you make bigger, more complex scripts, you'll notice that it's done pretty much as in simple programming, with the use of variables, and such things.

Most people use NotePad to write their scripts in. To save you file in the correct format ( .sqs ), you just write the name of the script in quotes, with the .sqs ending, like this:

"MyScript.sqs"

;-------------------

Learn more about scripts at OFP editing center, where you can find many usefull tutorials, if you're new to editing and/or scripting.

Share this post


Link to post
Share on other sites

thanks snake!!

but yea thats what i wanted and stuff....but i need to know what do you use script fr, and dont say "everything"

Share this post


Link to post
Share on other sites

o yeah, if u use a scrpit once do u have to use it all the time?

Share this post


Link to post
Share on other sites

Well,, you use scripting for everything wink.gif

Nah,, really. Basicly everything you can do in the editor, and allot more, can be done with external script files. You can move around units, you can simulate mortar/artillery, making cutscenes and so much much more. There's no limit for what you can do really.

Go to OFP editing center, and check out their "code snipet" area. There you'll get a pretty good idea how you can take advantage of scripts.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×