selectedEditorObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - " {3,}\|" to " |")
Line 19: Line 19:


| [[Array]]
| [[Array]]


|x1= <pre>_selObjects = selectedEditorObjects _map </pre>  
|x1= <pre>_selObjects = selectedEditorObjects _map </pre>  
Result can be: ["_vehicle_0","_vehicle_9","_vehicle_11"]
Result can be: ["_vehicle_0","_vehicle_9","_vehicle_11"]


| [[clearSelected (VBS2)]]
| [[clearSelected (VBS2)]]

Revision as of 18:58, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns a list of currently selected editor objects.
Some Old Editor Command
Groups:
Game 2 Editor

Syntax

Syntax:
selectedEditorObjects map
Parameters:
map: Control -
Return Value:
Array

Examples

Example 1:
_selObjects = selectedEditorObjects _map 
Result can be: ["_vehicle_0","_vehicle_9","_vehicle_11"]

Additional Information

See also:
clearSelected (VBS2)

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