Arma 3 Scripting

getDescription

  • Arma 3 v0.50

Command · Markdown · JSON · original wiki page

Description

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

Syntax

getDescription unit

Parameters:

Returns: Array of Strings format [unitClass, uniformName, vestName, backpackClass]

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.