OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 20 Jan 2003, 19:29:24

Title: starting with moving
Post by: dmakatra on 20 Jan 2003, 19:29:24
Is there a way so you can make a chopper/car/tank etc. start with the engine on at the start of the mission, and moving forward? I want the player to sit in an AH-64 and I want the chopper to move forward before he starts, so it looks like the chopper has been in air for a while instead of being in air and just stand there with 0 in speed. plz help.

Thx in advance.
Title: Re:starting with moving
Post by: Artak on 20 Jan 2003, 19:46:24
Hey Armstrong.

I think there's really no other way but to 'simulate' it ;D make belief

make a wp for the unit you want to be in when the mission starts and put this in your init.sqs file

titlecut ["OMG the screen is black!","black out",0.00001]
~10
titlecut ["W00T! I'm starting inside a moving vehicle!!","black in",7]


with choppers you select the 'flying' from the special field in unit menu.

or
you might want to play around with the    unitname setvelocity [x,y,z]
in your init.sqs in addition to that titlecut hat trick  ;)


I'm using this in one of my missions and looks ok