Arma 3 Scripting

BIS_fnc_EXP_camp_IFF

  • Local argument
  • Local effect
  • Arma 3 v1.62

Function · also in GUI · Markdown · JSON · original wiki page

Description

Simple handling of the Support Team's scripted IFF.

Note

See #Example 2 for icon and name options.

Syntax

[units] call BIS_fnc_EXP_camp_IFF

Parameters:

Returns: Boolean - true if successful, false if not

Examples

Example 1

[units group player] call BIS_fnc_EXP_camp_IFF;

Example 2

individualUnit setVariable ["BIS_iconAlways", true];    // to always show the icon and name of a unit
individualUnit setVariable ["BIS_iconShow", false];        // to hide the icon
individualUnit setVariable ["BIS_iconName", false];        // to hide the name