assignedGunner: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Extended "See also" and reformated it to make it look better)
m (example)
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_gunner = [[assignedGunner]] [[vehicle]] [[player]];</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 11:22, 8 June 2018

Hover & click on the images for description

Description

Description:
Returns the soldier assigned to the given vehicle as a gunner.
Groups:
Uncategorised

Syntax

Syntax:
assignedGunner vehicle
Parameters:
vehicle: Object -
Return Value:
Object

Examples

Example 1:
_gunner = assignedGunner vehicle player;

Additional Information

See also:
assignAsGunnerassignAsTurretassignAsCommanderassignAsDrivermoveInGunnermoveInTurretmoveInCommandermoveInDrivergunnerGetInTurretcommanderdriverassignAsCargomoveInCargoassignedCommanderassignedDriver

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

Bottom Section