BIS fnc manageCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Curator(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Curator |GROUP1=
|gr1 = Curator |GROUP1=
____________________________________________________________________________________________


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


| [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] |Syntax=
| [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] |Syntax=
Line 23: Line 20:


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


|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>|Example 1=


____________________________________________________________________________________________


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

Revision as of 23:26, 16 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


Notes

Bottom Section