BIS fnc EXP camp IFF: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |exec= call " to " ")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 16: Line 16:


Notes:
Notes:
*To always show the icon and name of a unit, use: {{Inline code|<unit> setVariable ["BIS_iconAlways", true];}}
*To always show the icon and name of a unit, use: {{ic|<unit> setVariable ["BIS_iconAlways", true];}}
*Otherwise, icons can be hidden with:    {{Inline code|<unit> setVariable ["BIS_iconShow", false];}}
*Otherwise, icons can be hidden with:    {{ic|<unit> setVariable ["BIS_iconShow", false];}}
*And names can be hidden with:      {{Inline code|<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]]|=Syntax

Revision as of 18:10, 27 February 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