setCuratorSelectionPreset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Fix syntax formatting)
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

Revision as of 17:01, 21 February 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