moveInGunner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([a-zA-Z0-9_]+) +\[\[([a-zA-Z0-9_]+)\]\] +([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2 $3;</sqf>")
(Use moveOut before moveIn)
Line 30: Line 30:
|descr= Move soldier into vehicle gunner position (Immediate, no animation).
|descr= Move soldier into vehicle gunner position (Immediate, no animation).
{{Feature|informative|See [[AI Group Vehicle Management]] for more information.}}
{{Feature|informative|See [[AI Group Vehicle Management]] for more information.}}
{{Feature|Important|If the unit is already in a vehicle, nothing will happen. You should use [[moveOut]] to move the unit out of his vehicle before trying to move him into a new (or same) vehicle.}}


|s1= unitName [[moveInGunner]] vehicle
|s1= unitName [[moveInGunner]] vehicle

Revision as of 17:52, 26 February 2023

Hover & click on the images for description

Description

Description:
Move soldier into vehicle gunner position (Immediate, no animation).
See AI Group Vehicle Management for more information.
If the unit is already in a vehicle, nothing will happen. You should use moveOut to move the unit out of his vehicle before trying to move him into a new (or same) vehicle.
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:
moveInAny moveInCargo moveInCommander moveInDriver moveInTurret assignAsCargo assignAsCommander assignAsDriver assignAsGunner

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
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.