BIS fnc mirrorCuratorSettings: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1 = Curator | |gr1 = Curator | ||
|serverExec= server | |serverExec= server | ||
| Mirrors settings from one curator to another. | | Mirrors settings from one curator to another. | ||
| [from,to,modes,shareType] call [[BIS_fnc_mirrorCuratorSettings]] | | [from,to,modes,shareType] call [[BIS_fnc_mirrorCuratorSettings]] | ||
|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 | ||
|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 | ||
|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 | ||
| [[Boolean]]| | |p4= shareType: [[Boolean]] - [[true]] to share settings both ways, [[false]] to make second curator slave to the first one | ||
| [[Boolean]] | |||
|x1= <code>[ | |x1= <code>[ | ||
Line 31: | Line 31: | ||
] [[call]] [[BIS_fnc_mirrorCuratorSettings]];</code> | ] [[call]] [[BIS_fnc_mirrorCuratorSettings]];</code> | ||
| [[Curator]] | | [[Curator]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:mirrorCuratorSettings}}]] | [[Category:Functions|{{uc:mirrorCuratorSettings}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:mirrorCuratorSettings}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:mirrorCuratorSettings}}]] |
Revision as of 23:10, 17 January 2021
Description
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