BIS fnc EXP camp IFF: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "|=Syntax " to " ")
Line 20: Line 20:
*And names can be hidden with:      {{ic|<unit> setVariable ["BIS_iconName", false];}}
*And names can be hidden with:      {{ic|<unit> setVariable ["BIS_iconName", false];}}


||s1= [units] call [[BIS_fnc_EXP_camp_IFF]]|=Syntax
||s1= [units] call [[BIS_fnc_EXP_camp_IFF]]


|p1= units: [[Array]] - An array of units to apply IFF effect
|p1= units: [[Array]] - An array of units to apply IFF effect

Revision as of 19:23, 12 June 2021

Hover & click on the images for description

Description

Description:
Simple handling of the Support Team's scripted IFF.

Notes:
  • To always show the icon and name of a unit, use: <unit> setVariable ["BIS_iconAlways", true];
  • Otherwise, icons can be hidden with: <unit> setVariable ["BIS_iconShow", false];
  • And names can be hidden with: <unit> setVariable ["BIS_iconName", false];
Execution:
call
Groups:
CampaignGUI

Syntax

Syntax:
[units] call BIS_fnc_EXP_camp_IFF
Parameters:
units: Array - An array of units to apply IFF effect
Return Value:
Boolean - true if successful, false if not

Examples

Example 1:
[[player]] call BIS_fnc_EXP_camp_IFF;

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