Difference between revisions of "BIS fnc manageCuratorAddons"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious))
m (pf)
 
Line 1: Line 1:
 
+
{{Function|Comments=
{{Function|= Comments
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| arma3 |= Game name
+
| arma3 |Game name=
  
|1.16|= Game version
+
|1.16|Game version=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <pre>/*
+
|Set which vision modes curator can access.|Description=
 +
____________________________________________________________________________________________
  
Description:
+
| [curators,classes,condition,text] call [[BIS_fnc_manageCuratorAddons]] |Syntax=
Make addons available to curators when provided condition is true.
 
  
Parameter(s):
+
|p1=curator: [[Object]] or [[Array]] of objects - Curator(s)|Parameter 1=
0: OBJECT or ARRAY of OBJECTs - curator(s)
 
1: STRING or ARRAY of STRINGs - CfgPatches classes
 
2: CODE - unlock condition
 
3: STRING - notification text
 
  
Returns:
+
|p2=classes [[Array]] of [[String|strings]] - CfgPatches classes|Parameter 2=
BOOL
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
+
|p3=classes [[Code]] - Unlock condition, must return [[true]]|Parameter 3=
____________________________________________________________________________________________
 
  
| <!-- [] call [[BIS_fnc_manageCuratorAddons]]; --> |= Syntax
+
|p4=classes [[String]] - Notification text|Parameter 4=
  
|p1= |= Parameter 1
+
| [[Boolean]]|Return value=
 +
____________________________________________________________________________________________
  
| |= Return value
+
|x1= <code>[BIS_curator,["A3_Air_F_Heli"],{[[count]] [[allPlayers]] > 15},"Helicopters unlocked!"] [[call]] [[BIS_fnc_manageCuratorAddons]];</code>|Example 1=
____________________________________________________________________________________________
 
  
|x1= <code></code> |=
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= See also
+
| [[Curator]] |See also=
 +
}}
  
}}
 
  
 
<h3 style="display:none">Notes</h3>
 
<h3 style="display:none">Notes</h3>

Latest revision as of 18:02, 22 June 2018

Introduced with Arma 3 version 1.16
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

Description

Description:
Set which vision modes curator can access.

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

Execution:
call
Multiplayer:
-
See also:
Curator

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To


Notes

Bottom Section