set3DENSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(6 intermediate revisions by 3 users not shown)
Line 6: Line 6:
|gr1= Eden Editor
|gr1= Eden Editor


|descr= Changes selection in [[Eden Editor]] to what is inside entities array.
|descr= Changes selection in [[:Category:Eden Editor|Eden Editor]] to what is inside entities array. {{Feature|warning|This command will trigger the 3DEN event handler '''"OnSelectionChange"'''. Do not use it inside this event handler!}}


|s1= '''set3DENSelected''' entities
|s1= [[set3DENSelected]] entities


|p1= entities: [[Array]] of types [[Eden Entity]] or [[Eden ID]]
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[set3DENSelected]] [0,5,3,6,7,12];</code>
|x1= <sqf>set3DENSelected [0,5,3,6,7,12];</sqf>


|seealso= [[get3DENMouseOver]] [[all3DENEntities]] [[collect3DENHistory]] [[get3DENEntityID]] [[get3DENSelected]] [[set3DENObjectType]]
|seealso= [[get3DENMouseOver]] [[all3DENEntities]] [[collect3DENHistory]] [[get3DENEntityID]] [[get3DENSelected]] [[set3DENObjectType]]
}}
}}

Latest revision as of 00:25, 2 February 2024

Hover & click on the images for description

Description

Description:
Changes selection in Eden Editor to what is inside entities array.
This command will trigger the 3DEN event handler "OnSelectionChange". Do not use it inside this event handler!
Groups:
Eden Editor

Syntax

Syntax:
set3DENSelected entities
Parameters:
entities: Array of Eden Entity or Eden ID
Return Value:
Nothing

Examples

Example 1:
set3DENSelected [0,5,3,6,7,12];

Additional Information

See also:
get3DENMouseOver all3DENEntities collect3DENHistory get3DENEntityID get3DENSelected set3DENObjectType

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