setCuratorSelectionPreset: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Create setCuratorSelectionPreset)
 
No edit summary
Line 6: Line 6:
|gr1= Curator
|gr1= Curator


|descr= Set the list of objects in the given selection preset.
|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, only [[Object]] is supported in selection presets
|p2= objects - [[Array]]: Objects to save to the selection preset
|r1= [[Nothing]]
|r1= [[Nothing]]



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