moveInCommander: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 30: Line 30:
|descr= Move soldier into vehicle commander position (Immediate, no animation).
|descr= Move soldier into vehicle commander position (Immediate, no animation).


|s1= unitName '''moveInCommander''' vehicle
|s1= unitName '''moveInCommander''' vehicle


|p1= unitName: [[Object]]
|p1= unitName: [[Object]]

Revision as of 23:18, 19 June 2021

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:
moveInAnymoveInCargomoveInDrivermoveInGunnermoveInTurretassignAsCargoassignAsCommanderassignAsDriverassignAsGunner

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.