BIS fnc EXP camp IFF: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "True" to "true")
Line 26: Line 26:
|p1= units: [[Array]] - An array of units to apply IFF effect
|p1= units: [[Array]] - An array of units to apply IFF effect


|r1= [[Boolean]] - [[True]] if successful, [[false]] if not
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not


|x1= <code><noWiki>[[</nowiki>[[player]]<noWiki>]]</nowiki> [[call]] [[BIS_fnc_EXP_camp_IFF]];</code>
|x1= <code><noWiki>[[</nowiki>[[player]]<noWiki>]]</nowiki> [[call]] [[BIS_fnc_EXP_camp_IFF]];</code>

Revision as of 18:40, 26 December 2020

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