OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GeneralCoder on 30 Sep 2002, 22:03:57

Title: get out!
Post by: GeneralCoder on 30 Sep 2002, 22:03:57

how do u make unit come out of the vehicle after u have but him in like:  this moveindriver true ?

whitout waypoints in the editor
Title: Re:get out!
Post by: Sui on 01 Oct 2002, 01:16:38
Welcome to the forums, GeneralCoder

You can use this command:

unassignvehicle unit

To make your unit jump out as soon as the vehicle stops. To make your unit jump out while it's still moving (often dangerous as you might imagine ;D) use this line:

unit action ["Eject",vehicle ]

after first using the unassign one above ;)
Title: Re:get out!
Post by: GeneralCoder on 01 Oct 2002, 13:07:18
Welcome to the forums, GeneralCoder

You can use this command:

unassignvehicle unit

To make your unit jump out as soon as the vehicle stops. To make your unit jump out while it's still moving (often dangerous as you might imagine ;D) use this line:

unit action ["Eject",vehicle ]

after first using the unassign one above ;)

Thank u wery much! 8)
Title: Re:get out!
Post by: Vortrog on 09 Oct 2002, 01:48:03
Always issue these commands in a trigger. If you make it an activation in a waypoint, it just never works..and becomes frustrating as hell

Vortrog