BIS fnc manageCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.16|Game version=
|1.16


|gr1 = Curator |GROUP1=
|gr1 = Curator


|Set which vision modes curator can access.|Description=
|Set which vision modes curator can access.


| [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] |Syntax=
| [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]]


|p1=curator: [[Object]] or [[Array]] of objects - Curator(s)|Parameter 1=
|p1=curator: [[Object]] or [[Array]] of objects - Curator(s)


|p2=classes [[Array]] of [[String|strings]] - CfgPatches classes|Parameter 2=
|p2=classes [[Array]] of [[String|strings]] - CfgPatches classes


|p3=classes [[Code]] - Unlock condition, must return [[true]]|Parameter 3=
|p3=classes [[Code]] - Unlock condition, must return [[true]]


|p4=classes [[String]] - Notification text|Parameter 4=
|p4=classes [[String]] - Notification text


| [[Boolean]]|Return value=
| [[Boolean]]


|x1= <code>[BIS_curator,["A3_Air_F_Heli"],{[[count]] [[allPlayers]] > 15},"Helicopters unlocked!"] [[call]] [[BIS_fnc_manageCuratorAddons]];</code>|Example 1=
|x1= <code>[BIS_curator,["A3_Air_F_Heli"],{[[count]] [[allPlayers]] > 15},"Helicopters unlocked!"] [[call]] [[BIS_fnc_manageCuratorAddons]];</code>




| [[Curator]] |See also=
| [[Curator]]
}}
}}



Revision as of 23:08, 17 January 2021

Hover & click on the images for description

Description

Description:
Set which vision modes curator can access.
Execution:
call
Groups:
Curator

Syntax

Syntax:
[curators,classes,condition,text] call BIS_fnc_manageCuratorAddons
Parameters:
curator: Object or Array of objects - Curator(s)
classes Array of strings - CfgPatches classes
classes Code - Unlock condition, must return true
classes String - Notification text
Return Value:
Boolean

Examples

Example 1:
[BIS_curator,["A3_Air_F_Heli"],{count allPlayers > 15},"Helicopters unlocked!"] call BIS_fnc_manageCuratorAddons;

Additional Information

See also:
Curator

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


Bottom Section