weaponsTurret: Difference between revisions
Jump to navigation
Jump to search
(populated) |
m (Added SEEALSO) |
||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]] |= See also | | [[addMagazineTurret]], [[magazinesTurret]], [[removeMagazinesTurret]], [[removeMagazineTurret]], [[weapons]], [[assignedVehicleRole]] |= See also | ||
}} | }} |
Revision as of 08:37, 11 March 2011
Description
- Description:
- Returns all weapons of given turret. Use turret path [-1] for driver's turret.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle weaponsTurret turretPath
- Parameters:
- vehicle: Object
- turretPath: Array
- Return Value:
- Array of Strings
Examples
- Example 1:
_weapons = vehicle player weaponsTurret [0,0]
- Example 2:
_weapons = _tank weaponsTurret [0]
Additional Information
- See also:
- addMagazineTurretmagazinesTurretremoveMagazinesTurretremoveMagazineTurretweaponsassignedVehicleRole
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