setCuratorSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add curatorEditableObjects reference)
m (Some wiki formatting)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.14
|version1= 2.14
|branch= dev


|gr1= Curator
|gr1= Curator
Line 8: Line 10:
|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]]
}}
}}

Revision as of 13:16, 16 February 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.14.

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