moveInGunner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 11: Line 10:


|gr1= Unit Control |GROUP1=
|gr1= Unit Control |GROUP1=
____________________________________________________________________________________________


| Move soldier into vehicle gunner position (Immediate, no animation). |DESCRIPTION=
| Move soldier into vehicle gunner position (Immediate, no animation). |DESCRIPTION=
____________________________________________________________________________________________


| unitName '''moveInGunner''' vehicle |SYNTAX=
| unitName '''moveInGunner''' vehicle |SYNTAX=
Line 22: Line 19:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>soldierOne '''moveInGunner''' tankOne </code> |EXAMPLE1=
|x1= <code>soldierOne '''moveInGunner''' tankOne </code> |EXAMPLE1=
____________________________________________________________________________________________


| [[moveInAny]], [[moveInCargo]], [[moveInCommander]], [[moveInDriver]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]  |SEEALSO=
| [[moveInAny]], [[moveInCargo]], [[moveInCommander]], [[moveInDriver]], [[moveInTurret]], [[assignAsCargo]], [[assignAsCommander]], [[assignAsDriver]], [[assignAsGunner]]  |SEEALSO=

Revision as of 01:58, 17 January 2021

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
soldierOne moveInGunner tankOne

Additional Information

See also:
moveInAnymoveInCargomoveInCommandermoveInDrivermoveInTurretassignAsCargoassignAsCommanderassignAsDriverassignAsGunner

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

Notes

Posted on August 4, 2006 - 14:45
hardrock
Notes from before the conversion: MP Note Functions MoveInGunner 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 Gunner" action command.

Bottom Section