Arma 3 Scripting

getUnitTrait

  • Global argument
  • Arma 3 v1.58

Command · Markdown · JSON · original wiki page

Description

Gets the current value of a trait of the given unit.

Note

For the default values see setUnitTrait.

Syntax

unit getUnitTrait skillName

Parameters:

Returns: - Boolean or Number - trait's value

Examples

Example 1

player getUnitTrait "Medic";

See also

setUnitTrait · getAllUnitTraits