setCuratorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add curatorEditableObjects reference)
m (Text replacement - " |version1= 2.14 |branch= dev" to " |version1= 2.14")
 
(One intermediate revision by the same user 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]] - flat array of items to set; items can be an [[Object]], [[Group]], [[Array]] format [[Waypoint]], or [[String]] (marker)


|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]] [[curatorEditableObjects]] [[Arma 3: Curator]]
|seealso= [[curatorMouseOver]] [[curatorSelected]] [[addCuratorSelected]] [[curatorEditableObjects]] [[Arma 3: Curator]]
}}
}}

Latest revision as of 18:11, 5 September 2023

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 - flat array of items to set; items can be an Object, Group, Array format Waypoint, or String (marker)
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 or on the Forums.
Only post proven facts here! Add Note