BIS fnc mirrorCuratorSettings: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
|s1= [from, to, modes, shareType] call [[BIS_fnc_mirrorCuratorSettings]] | |s1= [from, to, modes, shareType] call [[BIS_fnc_mirrorCuratorSettings]] | ||
|p1= from: [[Object]] or [[Array]] of objects - | |p1= from: [[Object]] or [[Array]] of objects - curators(s) from which settings are taken | ||
|p2= to: [[Object]] or [[Array]] of objects - | |p2= to: [[Object]] or [[Array]] of objects - curators(s) to which settings are applied to | ||
|p3= modes: [[Array]] of [[ | |p3= modes: [[Array]] of [[String]]s - copy modes, can be: | ||
* "addons" | * "addons" | ||
* "objects" | * "objects" | ||
Line 26: | Line 26: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>[ | ||
[curator_1, curator_2], | [curator_1, curator_2], | ||
[curator_3, curator_4], | [curator_3, curator_4], | ||
["addons", "objects", "coefs"] | ["addons", "objects", "coefs"] | ||
] | ] call BIS_fnc_mirrorCuratorSettings;</sqf> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] | ||
}} | }} |
Latest revision as of 21:51, 16 February 2024
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"
- 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:
- Arma 3: 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