BIS_fnc_EXP_camp_IFF

From Bohemia Interactive Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for description

Description

Description:
Simple handling of the Support Team's scripted IFF.
BIS fnc EXP camp IFF.png
See Example 2 for icon and name options.
Execution:
call
Groups:
CampaignGUI

Syntax

Syntax:
[units] call BIS_fnc_EXP_camp_IFF
Parameters:
units: Array - an array of units on which to apply IFF effect
Return Value:
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

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note