OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SteveIII on 19 Jun 2004, 14:32:10
-
How can I insert a vehicle, but choose a non standard unit to be in the driver and gunner seat? Sorry if it's a simlpe question, I just hate tutorials! ;)
-
Create an empty vehicle "x",
Create unit "a",
Create unit "b",
a moveInDriver x
b moveInGunner x
-
There is also these commands you can use.
a moveincommander x
a moveincargo x
For choppers, the pilot is considered the driver so use moveindriver for pilots, a gunner is just moveingunner.
-
Yeah, either place an empty vehicle, or a full one, name it something (I used carname) and put in it's init field :
deletevehicle driver this
And if it has a gunner :
deletevehicle gunner this
To put new people in it, place them in the editor, in the drivers init field :
this moveindriver carname
And if it has a gunner :
this moveingunner carname
And that should be it
BTW, the init field only shows up in advanced mode (Which I reccomend you use all the time anyway ;))
Sorry if you know half this stuff, but you didn't say how much you knew about ofp :)
Gd luck
- Ben