OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: shadow99 on 15 Mar 2004, 06:44:10
-
I need a SERIOUS understanding on how this works, but I cant find any tutorials suitable for it...
I know its not hard, but it just doesn't like me. :P
I'm trying to get a Helicopter to come to a certain point when Radio Code Delta is activated.
So, I do what all the examples tell me to, but I'm getting confused.
[groupOne, 1] setWPPos getMarkerPos "MarkerOne"
That's from the command reference.
What is:
[groupOne, 1]
What is:
"MarkerOne"
(I presume "MarkerOne" is a marker, but I don't know how to make the whole thing work in conjunction with being activated by Radio Code Delta)
-
groupOne - A group ::)
1 - Waypoint number. 0 for the group's first, 1 for second, etc... (I think)
"MarkerOne" - A marker. You don't need to use a marker position, all you need is a regular position array.
-
Okay, that's interesting. Does it have to be a group, as such? Or just a single unit?
In that case, I can have my Cobra go to a specified point.
But, I don't want my Cobra to go there until the trigger is activated?
I guess an easier way of doing things would be to turn off and on waypoints.
Is there a way a trigger can turn ON a set of wayponts?
And is there a way waypoints can be turned off?
-
A single unit is a group.
You will of course have to name your marker, in this case, markerOne. Naturally you can choose any name you like.
You need to know about switch triggers: there is a tute in the Editors Depot. The good general tutes cover it as well.