BIS fnc mirrorCuratorSettings: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 13: | Line 13: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= from: [[Object]] or [[Array]] of objects - Curators(s) from which settings are taken|= | |p1= from: [[Object]] or [[Array]] of objects - Curators(s) from which settings are taken|PARAMETER1= | ||
|p2= to: [[Object]] or [[Array]] of objects - Curators(s) to which settings are applied to|= | |p2= to: [[Object]] or [[Array]] of objects - Curators(s) to which settings are applied to|PARAMETER2= | ||
|p3= modes: [[Array]] of [[Strings]] - Copy modes, can be: | |p3= modes: [[Array]] of [[Strings]] - Copy modes, can be: | ||
*"addons" | *"addons" | ||
Line 20: | Line 20: | ||
*"coefs" | *"coefs" | ||
**All three modes can be combined | **All three modes can be combined | ||
|= | |PARAMETER3= | ||
|p4= shareType: [[Boolean]] - [[True]] to share settings both ways, [[false]] to make second curator slave to the first one|= | |p4= shareType: [[Boolean]] - [[True]] to share settings both ways, [[false]] to make second curator slave to the first one|PARAMETER4= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:31, 7 April 2019
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