OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: McFinnish on 15 May 2004, 21:45:44

Title: creating vehicles
Post by: McFinnish on 15 May 2004, 21:45:44
I'am working in mission where I need to create 3  A-10's into air flying above sea when trigger is activated. I know the command isn't createvehicle 'cause that only creates empty vehicles (ComRef 1.8 says so). So how can I do it?

Thanks! :)
Title: Re:creating vehicles
Post by: Artak on 15 May 2004, 23:05:52
It indeed is the createvehicle command which you must use if you want to CREATE the planes. You can also insert them in the editor to some remote location and then setpos them over the sea to 5000 kilometers height. Also you can use the setfuel command to stop the planes from moving before they are setpossed.
If you go with the createvehicle command, you must also assign pilots to the planes by either inserting them in editor and then putting them in the planes with the moveindriver command, or you can go ahead and create the pilots too.
Title: Re:creating vehicles
Post by: McFinnish on 16 May 2004, 09:45:25
thanks!