moveInCommander: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *ofp * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= ofp |version1= $1 |game2")
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
Line 55: Line 55:


</dl>
</dl>
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 22:39, 16 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.