weapons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 27: Line 27:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
In version 1.02 this command returns only weapons defined for the primary turret of the vehicle.
for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"]
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:07, 20 January 2007

Hover & click on the images for description

Description

Description:
Returns array of names of all vehicle's weapons.
Groups:
Uncategorised

Syntax

Syntax:
weapons vehicle
Parameters:
vehicle: Object
Return Value:
Array

Examples

Example 1:
wArray = weapons player

Additional Information

See also:
See also needed

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

In version 1.02 this command returns only weapons defined for the primary turret of the vehicle. for ex. only ["D81", "PKT"] for t72, not ["D81", "PKT","DSHKM"]

Bottom Section