BIS fnc EXP camp IFF: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (page filled)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
|game1= arma3


|1.62|Game version=
|version1= 1.62


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
|arg= local


| <pre>/*
|eff= local
Author: Thomas Ryan


Description:
|descr= Simple handling of the Support Team's scripted IFF.<br> <br>
Simple handling of the Support Team's scripted IFF.
Must be executed locally.


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


Parameters:
||s1= [units] call [[BIS_fnc_EXP_camp_IFF]]|=Syntax
_this: ARRAY - Array of Support Team units.


Returns:
|p1= units: [[Array]] - An array of units to apply IFF effect
True if successfully initialized, false if not.
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_EXP_camp_IFF]]|Syntax=
|r1= [[Boolean]] - [[True]] if successful, [[false]] if not


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|x1= <code><noWiki>[[</nowiki>[[player]]<noWiki>]]</nowiki> [[call]] [[BIS_fnc_EXP_camp_IFF]];</code>


|Datatype - description|Return value=
|exec= call


|x1= <code></code>|Example 1=
|seealso=


|exec= call |Execution=
| |See also=
}}
}}



Revision as of 00:03, 14 January 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:
Uncategorised

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