moveInCommander: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 39: Line 39:
|x1= <code>_soldierOne '''moveInCommander''' _tankOne</code>
|x1= <code>_soldierOne '''moveInCommander''' _tankOne</code>


|seealso= [[moveInAny]], [[moveInCargo]], [[moveInDriver]], [[moveInGunner]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]
|seealso= [[moveInAny]] [[moveInCargo]], [[moveInDriver]], [[moveInGunner]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]
}}
}}
<dl class="command_description">
<dl class="command_description">

Revision as of 16:50, 20 January 2022

Hover & click on the images for description

Description

Description:
Move soldier into vehicle commander position (Immediate, no animation).
Groups:
Unit Control

Syntax

Syntax:
unitName moveInCommander vehicle
Parameters:
unitName: Object
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
_soldierOne moveInCommander _tankOne

Additional Information

See also:
moveInAny moveInCargomoveInDrivermoveInGunnermoveInTurretassignAsCargoassignAsCommanderassignAsDriverassignAsGunner

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on August 4, 2006 - 14:43
hardrock
Notes from before the conversion: MP Note Functions MoveInCommander can only be called for local soldiers. They will be ignored for remote soldiers. (see Locality in Multiplayer)
Ceeeb
In OFP v1.96, the moveIn commands will not trigger an associated getIn event. To ensure the getIn event is fired, use the "getIn Commander" action command.