Arma 3 Scripting

Command in Object Manipulation

getDescription

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the string representation of unit as an four slots array.

Syntax

getDescription unit

Parameters:

Returns: Array of Strings format [unit**Class**, uniform**Name**, vest**Name**, backpack**Class**]

Examples

Example 1

getDescription player; // UAV Operator
// returns ["B_soldier_UAV_F", "Combat Fatigues (MTP)", "Carrier Special Rig (Green)", "B_UAV_01_backpack_F"]

Example 2

getDescription objNull; // returns ["ERROR", "ERROR", "ERROR", "ERROR"]

See also

roleDescription · vehicleVarName

Community notes

Druid

Return value fixed in revision 0.51.103185.