getDescription: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "|= Game version" to "|Game version=")
Line 4: Line 4:
| arma3 |Game name=
| arma3 |Game name=


|0.50|= Game version
|0.50|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 21:26, 31 August 2019

Hover & click on the images for description

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.
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"]