BIS fnc mirrorCuratorSettings: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|serverExec= server
|serverExec= server
____________________________________________________________________________________________


| Mirrors settings from one curator to another.|DESCRIPTION=
| Mirrors settings from one curator to another.|DESCRIPTION=
____________________________________________________________________________________________


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


|p1= from: [[Object]] or [[Array]] of objects - Curators(s) from which settings are taken|PARAMETER1=
|p1= from: [[Object]] or [[Array]] of objects - Curators(s) from which settings are taken|PARAMETER1=
Line 26: Line 22:
|PARAMETER3=
|PARAMETER3=
|p4= shareType: [[Boolean]] - [[true]] to share settings both ways, [[false]] to make second curator slave to the first one|PARAMETER4=
|p4= shareType: [[Boolean]] - [[true]] to share settings both ways, [[false]] to make second curator slave to the first one|PARAMETER4=
____________________________________________________________________________________________


| [[Boolean]]|RETURNVALUE=
| [[Boolean]]|RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>[  
|x1= <code>[  
Line 36: Line 30:
["addons","objects","coefs"]  
["addons","objects","coefs"]  
] [[call]] [[BIS_fnc_mirrorCuratorSettings]];</code> |=
] [[call]] [[BIS_fnc_mirrorCuratorSettings]];</code> |=
____________________________________________________________________________________________


| [[Curator]] |SEEALSO=
| [[Curator]] |SEEALSO=

Revision as of 23:21, 16 January 2021

Hover & click on the images for description

Description

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

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