curatorSelectionPreset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix inconsistent formatting)
m (Some wiki formatting)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.14
|branch= dev


|gr1= Curator
|gr1= Curator
Line 8: Line 10:
|descr= Returns list of all objects stored in the given selection preset.
|descr= Returns list of all objects stored in the given selection preset.


|s1= '''curatorSelectionPreset''' numkey
|s1= [[curatorSelectionPreset]] numkey
|p1= numkey: [[Number]] - Number key under which the selection preset is saved
 
|r1= [[Array]] - Array of objects saved in the selection preset
|p1= numkey: [[Number]] - number key under which the selection preset is saved
 
|r1= [[Array]] of [[Object]]s - objects saved in the selection preset


|x1= <sqf>savedItems = curatorSelectionPreset 1;</sqf>
|x1= <sqf>private _savedItems = curatorSelectionPreset 1;</sqf>


|seealso= [[loadCuratorSelectionPreset]] [[setCuratorSelectionPreset]] [[curatorSelected]] [[setCuratorSelected]] [[addCuratorSelected]] [[Arma 3: Curator]]
|seealso= [[loadCuratorSelectionPreset]] [[setCuratorSelectionPreset]] [[curatorSelected]] [[setCuratorSelected]] [[addCuratorSelected]] [[Arma 3: Curator]]
}}
}}

Revision as of 19:54, 24 February 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.14.

Description

Description:
Returns list of all objects stored in the given selection preset.
Groups:
Curator

Syntax

Syntax:
curatorSelectionPreset numkey
Parameters:
numkey: Number - number key under which the selection preset is saved
Return Value:
Array of Objects - objects saved in the selection preset

Examples

Example 1:
private _savedItems = curatorSelectionPreset 1;

Additional Information

See also:
loadCuratorSelectionPreset setCuratorSelectionPreset curatorSelected setCuratorSelected addCuratorSelected 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