OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: coachtrox on 18 Jan 2003, 01:23:06

Title: Player starting in flying aircraft...help?
Post by: coachtrox on 18 Jan 2003, 01:23:06
 :-[Ummm, I can't seem to get a soldier to start in a plane/chopper that is already in the air...........help?
Title: Re:Player starting in flying aircraft...help?
Post by: jb on 18 Jan 2003, 03:16:11
"player starting in flying aircraft...help"


is this a "trick" question? am i gonna make a fool of myself if i answer it?  uhhh, ok.

if you want the "player" (you) to start as the (pilot,gunner,whatever.) just choose that option in the editor
when you create the aircraft.

if i thats not clear....it's time for more beer.
Title: Re:Player starting in flying aircraft...help?
Post by: LCD on 18 Jan 2003, 03:28:09
@ jb - he prooly meens da movein commands  ;D

and if coachtrox  will search he would have known it lots of time ago :P

@ coachtrox - look under da OFPEC banner - dere are som options in dere da 3rd one is search - use b4 u ask ;)

nyways here is how it goes

unitname moveincargo vehiclename - makes unit start in da cargo of da vehice
unitname moveindriver vehiclename - makes unit driver/pilot of vehicle
unitname moveingunner vehiclename - makes unit gunner of vehicle
unitname moveincommander vehiclename - makes unit commander of vehicle

LCD OUT
Title: Re:Player starting in flying aircraft...help?
Post by: coachtrox on 18 Jan 2003, 04:34:10
1. Wanted player as passenger.
2. New to forums, soooory!
3. Where is he placed on map when aircraft is already flying overhead?
Title: Re:Player starting in flying aircraft...help?
Post by: Anton VonE on 18 Jan 2003, 06:06:18
Hey...fisrt, place the player...that's you.

Second, place the heli/plane and name it in the 'Name' box. In the special box, select the 'Flying' option.

Now, go back to the player option and add something similar to the init field:

Player1 moveincargo Heli1

Player1 is the name of your player.
Moveincargo is the command you need to move in to the helicopter.
Heli1 is the name of the helicopter that you want to move in to.

Good luck!
Anton
Title: Re:Player starting in flying aircraft...help?
Post by: Ranger on 18 Jan 2003, 06:28:45
3. Where is he placed on map when aircraft is already flying overhead?

Since no one answered this part of your post, I'll do so.  You can place the unit or units anywhere on the map, even over the water.  They'll get moved into the vehicle the instant the mission starts, and thus they will not drown.

So, for logical mission making purposes, it's best to put these units right next to the aircraft in the editor.  That way, you'll know quickly which units get into what.
Title: Re:Player starting in flying aircraft...help?
Post by: coachtrox on 18 Jan 2003, 07:59:50
Okay...got it! It works! Thanks a lot!