Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
assignAsDriver - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName assignAsDriver vehicleName

Operand types

unitName: Object
vehicleName: Object

Type of returned value

Description

Assign soldier as driver of given vehicle.
You should use the command orderGetIn to make the unit get in the assigned vehicle.

Used In

OFP/ArmA

Example

player assignAsDriver tankOne

Advertisement