setCuratorSelectionPreset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix inconsistent formatting)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *N([a-z ])" to "$1 - n$2")
Line 9: Line 9:


|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:40, 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