items: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
(add: example)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns an array of names of all special items of the vehicle. |= Description
| Returns an array of names of all special items of a vehicle or a soldier. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_itemsplayer <nowiki>=</nowiki> '''items''' player; </code>|= EXAMPLE1  
 
|x2= <code>player sideChat format["%1", items player];</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 16:09, 26 August 2009

Hover & click on the images for description

Description

Description:
Returns an array of names of all special items of a vehicle or a soldier.
Groups:
Uncategorised

Syntax

Syntax:
items unit
Parameters:
unit: Object -
Return Value:
Array

Examples

Example 1:
_itemsplayer = items player;
Example 2:
player sideChat format["%1", items 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