set3DENSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(4 intermediate revisions by 2 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
Line 14: Line 14:
|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