set3DENSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting)
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(8 intermediate revisions by 3 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.56
|version1= 1.56


|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 01: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