getDescription unitName

Operand types

unitName: Object

Type of returned value

Description

Returns the representation of the given unit as a four element array of strings: [unit, uniform, vest, backpack].

unit - config class name.
uniform, vest and backpack - display name (name shown in in-game UIs)

Used In

Arma3

Example

getDescription player;
// using the NATO Rifleman returns ["B_Soldier_F","Combat Fatigues (MTP)","Carrier Lite (Green)",""]
Search OFPEC COMREF