BIS fnc manageCuratorAddons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
Line 10: | Line 10: | ||
|s1= [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] | |s1= [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] | ||
|p1=curator: [[Object]] or [[Array]] of objects - | |p1=curator: [[Object]] or [[Array]] of objects - curator(s) | ||
|p2=classes [[Array]] of [[String|strings]] - CfgPatches classes | |p2=classes [[Array]] of [[String|strings]] - CfgPatches classes |
Revision as of 14:00, 8 November 2023
Description
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