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

unitName assignAsCommander vehicleName

Operand types

unitName: Object
vehicleName: Object

Type of returned value

Description

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

Used In

OFP/ArmA

Example

player assignAsCommander tankOne

Advertisement