OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: WAKA-WAKA on 28 Jul 2004, 02:20:49

Title: Moving Vehicles in a Cutscene
Post by: WAKA-WAKA on 28 Jul 2004, 02:20:49
I am working on a cutscene and I need help on how to move a vehicle in a cutscene. I already know how to move a person, "player move setpos place". In my cutscene so far I have the player move around and then get in the vehicle, but i can't figure out how to make him drive it.



Thanx
Title: Re:Moving Vehicles in a Cutscene
Post by: Clue on 28 Jul 2004, 11:25:57
This is the way I did it and it works fine...

 Place an empty marker where you want the vehicle to go to. Call it "carmove1"

In your cutscene, at the point you want the vehicle to move put

name of driver domove getmarkerpos "carmove1"

If you want him to move somewhere else afterwards, just set up more markers ("carmove2", "carmove3" etc) and type

@unitready name of driver
name of driver domove getmarkerpos "carmove2"

and so on...

Hope that helps.