OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: basic11 on 17 Jun 2004, 03:07:08

Title: where do i start, im not smart
Post by: basic11 on 17 Jun 2004, 03:07:08
hey guys, i tried the tutorials and i grasp what a scprit is i realy dont where do you enter these commands is it in the waypoint option /    select the scripted option vs. move , destroy etc... and then on the description do you type in the various scripts?  
 :-[
Title: Re:where do i start, im not smart
Post by: BHD Mod on 17 Jun 2004, 03:20:00
you do not enter the lines of code in a script in the editor, you just execute the script in the editor. Look at the tutes more closely and follow the instructions.
Title: Re:where do i start, im not smart
Post by: macguba on 17 Jun 2004, 09:54:55
There are three tutes that will help you:

macguba's guide to mission editing for beginners
Johan Gustafsson's editing guide
snYpir's friendly intro to code snippets
Johan Gustafsson's scripting guide

You can use lines of script (or code) in triggers, waypoints and init fields.    However a "script" is a seperate file which you create in Notepad or some other text editor.    You need a line of code in a trigger or waypoint to make the script start when you want it to.

The scripted waypoint is a special waypoint:   use the forum search function, there is a very good thread on.   But read this tutes first.