BIS fnc manageCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>")
Line 20: Line 20:
|r1= [[Boolean]]
|r1= [[Boolean]]


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


|seealso= [[Arma 3: Curator]]
|seealso= [[Arma 3: Curator]]
}}
}}

Revision as of 18:11, 13 July 2022

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:
Arma 3: 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