BIS fnc manageCuratorAddons: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2") |
||
(6 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Set which vision modes curator can access. | |descr= Set which vision modes curator can access. | ||
|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 | |p2=classes [[Array]] of [[String]]s - CfgPatches classes | ||
|p3=classes [[Code]] - | |p3=classes [[Code]] - unlock condition, must return [[true]] | ||
|p4=classes [[String]] - | |p4=classes [[String]] - notification text | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |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]] | ||
}} | }} |
Latest revision as of 15:39, 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