setCuratorSelected: Difference between revisions

From Bohemia Interactive Community
(Create setCuratorSelected)
 
mNo edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:
|descr= Clear and set the curator selected items. Leave the items array empty to clear curator selection.
|descr= Clear and set the curator selected items. Leave the items array empty to clear curator selection.


|s1= '''setCuratorSelected items'''
|s1= [[setCuratorSelected]] items
 
|p1= items: [[Array]] of [[Object]]s, [[Group]]s, [[Waypoint]]s, or [[String]]s - flat array of items to set; strings are marker names


|p1= [[Array]] - Flat array of items to set; items can be an [[Object]], [[Group]], [[Waypoint]], or marker name [[String]]
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>setCuratorSelected [unit1, group1, [group1, waypointIndex], markerName1];</sqf>
|x1= <sqf>setCuratorSelected [unit1, group1, [group1, waypointIndex], markerName1];</sqf>
|x2= <sqf>setCuratorSelected [vehicle1, unit1, unit2, unit3, unit4, group1];</sqf>
|x2= <sqf>setCuratorSelected [vehicle1, unit1, unit2, unit3, unit4, group1];</sqf>


|seealso= [[curatorMouseOver]] [[curatorSelected]] [[addCuratorSelected]] [[Arma 3: Curator]]
|seealso= [[curatorMouseOver]] [[curatorSelected]] [[addCuratorSelected]] [[curatorEditableObjects]] [[Arma 3: Curator]]
}}
}}

Latest revision as of 18:53, 3 April 2026

Hover & click on the images for description

Description

Description:
Clear and set the curator selected items. Leave the items array empty to clear curator selection.
Groups:
Curator

Syntax

Syntax:
setCuratorSelected items
Parameters:
items: Array of Objects, Groups, Waypoints, or Strings - flat array of items to set; strings are marker names
Return Value:
Nothing

Examples

Example 1:
setCuratorSelected [unit1, group1, [group1, waypointIndex], markerName1];
Example 2:
setCuratorSelected [vehicle1, unit1, unit2, unit3, unit4, group1];

Additional Information

See also:
curatorMouseOver curatorSelected addCuratorSelected curatorEditableObjects Arma 3: Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note