getDescription: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''getDescription''' unit |= Syntax | | '''getDescription''' unit |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[Array]] - [unit, uniform, vest, backpack] |= | | [[Array]] - [unit, uniform, vest, backpack] |RETURNVALUE= | ||
|x1= <code> | |x1= <code> | ||
</code>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[roleDescription]], [[vehicleVarName]] |= | | [[roleDescription]], [[vehicleVarName]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:31, 7 April 2019
Description
- Description:
- Returns the string representation of unit as an four slots array.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getDescription unit
- Parameters:
- unit: Object
- Return Value:
- Array - [unit, uniform, vest, backpack]
Examples
- Example 1:
Additional Information
- See also:
- roleDescriptionvehicleVarName
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
- Druid
- Return value fixed in revision 0.51.103185.
Bottom Section
- Posted on September 21, 2014 - 18:47 (UTC)
- Killzone Kid
- Pretty useless command tbh, return is something like this: ["B_Soldier_F","Combat Fatigues (MTP)","Carrier Lite (Green)",""] or ["ERROR","ERROR","ERROR","ERROR"]