BIS fnc EXP camp IFF: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
(added image) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.62 | |version1= 1.62 | ||
|gr1 = Campaign | |gr1= Campaign | ||
|gr2 = GUI | |gr2= GUI | ||
|arg= local | |arg= local | ||
Line 15: | Line 12: | ||
|eff= local | |eff= local | ||
|descr= Simple handling of the Support Team's scripted IFF.<br> | |descr= Simple handling of the Support Team's scripted IFF.</br> | ||
[[File: BIS_fnc_EXP_camp_IFF.png|350px]] | |||
{{Feature|informative|See {{Link|#Example 2}} for icon and name options.}} | |||
|s1= [units] call [[BIS_fnc_EXP_camp_IFF]] | |||
|p1= units: [[Array]] - | |p1= units: [[Array]] - an array of units on which to apply IFF effect | ||
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not | |r1= [[Boolean]] - [[true]] if successful, [[false]] if not | ||
|x1= < | |x1= <sqf>[units group player] call BIS_fnc_EXP_camp_IFF;</sqf> | ||
| | |x2= <sqf> | ||
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 | |||
</sqf> | |||
|seealso= | |seealso= | ||
}} | }} | ||
Latest revision as of 15:09, 10 February 2024
Description
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:
- 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