BIS fnc manageCuratorAddons: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.16


|1.16|Game version=
|gr1= Curator
____________________________________________________________________________________________


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


| [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] |Syntax=
|s1= [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]]s - 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=
|r1= [[Boolean]]
____________________________________________________________________________________________


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


____________________________________________________________________________________________
|seealso= [[Arma 3: Curator]]
 
| [[Curator]] |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Curator|{{uc:manageCuratorAddons}}]]
[[Category:Functions|{{uc:manageCuratorAddons}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:manageCuratorAddons}}]]

Latest revision as of 16:39, 8 November 2023

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