BIS fnc mirrorCuratorSettings: Difference between revisions

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
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Mirrors settings from one curator to another.|= Description
 
____________________________________________________________________________________________
Description:
Mirror settings from once curator to another
 
Parameter(s):
0: OBJECT or ARRAY of OBJECTs - curators(s) from which settings are taken from
1: OBJECT or ARRAY of OBJECTs - curators(s) to which settings are applied to
2: ARRAY of STRINGs - copied modes, can be "addons", "objects" and/or "coefs"
3: BOOL - true to share settings both ways, false to make second curator slave to the first one
 
Returns:
BOOL
*/


| [from,to,modes,shareType] call [[BIS_fnc_mirrorCuratorSettings]] |= Syntax
____________________________________________________________________________________________


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= from: [[Object]] or [[Array]] of objects - Curators(s) from which settings are taken|= Parameter 1
|p2= to: [[Object]] or [[Array]] of objects - Curators(s) to which settings are applied to|= Parameter 2
|p3= modes: [[Array]] of [[Strings]] - Copy modes, can be:
*"addons"
*"objects"
*"coefs"
**All three modes can be combined
|= Parameter 3
|p4= shareType: [[Boolean]] - [[True]] to share settings both ways, [[false]] to make second curator slave to the first one|= Parameter 4
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_mirrorCuratorSettings]]; --> |= Syntax
| [[Boolean]]|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[
    [curator_1,curator_2],
[curator_3,curator_4],
["addons","objects","coefs"]
] [[call]] [[BIS_fnc_mirrorCuratorSettings]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[Curator]] |= See also
 
}}
}}
<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">

Revision as of 17:23, 30 May 2018

Hover & click on the images for description

Description

Description:
Mirrors settings from one curator to another.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[from,to,modes,shareType] call BIS_fnc_mirrorCuratorSettings
Parameters:
from: Object or Array of objects - Curators(s) from which settings are taken
to: Object or Array of objects - Curators(s) to which settings are applied to
modes: Array of Strings - Copy modes, can be:
  • "addons"
  • "objects"
  • "coefs"
    • All three modes can be combined
shareType: Boolean - True to share settings both ways, false to make second curator slave to the first one
Return Value:
Boolean

Examples

Example 1:
[ [curator_1,curator_2], [curator_3,curator_4], ["addons","objects","coefs"] ] call BIS_fnc_mirrorCuratorSettings;

Additional Information

See also:
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

Notes

Bottom Section