setCuratorSelectionPreset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
Line 10: Line 10:
|s1= numkey '''setCuratorSelectionPreset''' objects
|s1= numkey '''setCuratorSelectionPreset''' objects
|p1= numkey: [[Number]] - number key under which the selection preset is saved
|p1= numkey: [[Number]] - number key under which the selection preset is saved
|p2= objects: [[Array]] - Objects to save to the selection preset
|p2= objects: [[Array]] - objects to save to the selection preset
|r1= [[Nothing]]
|r1= [[Nothing]]



Revision as of 15:44, 8 November 2023

Hover & click on the images for description

Description

Description:
Set the list of objects in the given selection preset. Only Object is supported in selection presets, unlike curatorSelected which also returns the selected Group, Waypoint, and Marker String
Groups:
Curator

Syntax

Syntax:
numkey setCuratorSelectionPreset objects
Parameters:
numkey: Number - number key under which the selection preset is saved
objects: Array - objects to save to the selection preset
Return Value:
Nothing

Examples

Example 1:
1 setCuratorSelectionPreset [object1, object2];

Additional Information

See also:
curatorSelectionPreset loadCuratorSelectionPreset 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