weapons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= Game name
| ofpr |= Game name


||= Game version
|1.75|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| x |= Description
| Returns array of names of all vehicle's weapons. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| x '''weapons''' x |= Syntax
| '''weapons''' vehicle |= Syntax


| [[X]]
|p1= vehicle: [[Object]] |= Parameter 1
X |= Return value
 
| [[Array]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>Code</pre>
|x1= <pre>wArray = weapons [[player]]</pre> |= Example 1
 
returns X |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:53, 2 August 2006

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

Bottom Section