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")
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
|descr= 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]]
|descr= 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]]


|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]]



Latest revision as of 06:29, 27 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