uniformContainer: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.04|= Game version ____________________...") |
m (template:command argument fix) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns a cargo container of a unit's uniform. |= | | Returns a cargo container of a unit's uniform. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''uniformContainer''' unit |= | | '''uniformContainer''' unit |SYNTAX= | ||
|p1= unit: [[Object]] - a soldier |= | |p1= unit: [[Object]] - a soldier |PARAMETER1= | ||
| [[Object]] - cargo container or <NULL-object> |= | | [[Object]] - cargo container or <NULL-object> |RETURNVALUE= | ||
|x1= <code>[[hint]] [[str]] [[uniformContainer]] [[player]]; //2df7dd00# 163941: dummyweapon.p3d | |x1= <code>[[hint]] [[str]] [[uniformContainer]] [[player]]; //2df7dd00# 163941: dummyweapon.p3d | ||
</code>|= | </code>|EXAMPLE1= | ||
|x2= <code>[[hint]] [[str]] [[getMagazineCargo]] [[uniformContainer]] [[player]];</code> | |x2= <code>[[hint]] [[str]] [[getMagazineCargo]] [[uniformContainer]] [[player]];</code> | ||
< | <pre>[ | ||
[ | ["30Rnd_65x39_caseless_mag"], | ||
[3] | |||
]</pre>|EXAMPLE2= | |||
]</ | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[vestContainer]], [[backpackContainer]] |= | | [[vestContainer]], [[backpackContainer]], [[everyContainer]]|SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 15:50, 7 April 2019
Description
- Description:
- Returns a cargo container of a unit's uniform.
- Groups:
- Uncategorised
Syntax
- Syntax:
- uniformContainer unit
- Parameters:
- unit: Object - a soldier
- Return Value:
- Object - cargo container or <NULL-object>
Examples
- Example 1:
hint str uniformContainer player; //2df7dd00# 163941: dummyweapon.p3d
- Example 2:
hint str getMagazineCargo uniformContainer player;
[ ["30Rnd_65x39_caseless_mag"], [3] ]
Additional Information
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