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|")
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
|arma3 |Game name=
|1.56|Game Version=
|arg=  |Multiplayer Arguments=
|eff=  |Multiplayer Effects=


|gr1= Eden Editor |=GROUP1
|game1= arma3
____________________________________________________________________________________________
|version1= 1.56
| Changes selection in 3den to what is inside entities array. |DESCRIPTION=
 
____________________________________________________________________________________________
|gr1= Eden Editor
| '''set3DENSelected''' entities |SYNTAX=
 
|p1= entities: [[Array]] of types [[Eden Entity]] or [[Eden ID]] |PARAMETER1=
|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!}}
|p2=  |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=
|s1= [[set3DENSelected]] entities
|x1= <code>[[set3DENSelected]] [0,5,3,6,7,12];</code> |EXAMPLE1=
 
|
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]
[[get3DENMouseOver]]
[[add3DENConnection]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[do3DENAction]]
[[get3DENActionState]]
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]] |SEEALSO=
}}


<dl class='command_description'>
|r1= [[Nothing]]
<!-- BEGIN Note Section -->
<!-- For example:
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|x1= <sqf>set3DENSelected [0,5,3,6,7,12];</sqf>
<!-- Appropriate categories go here -->


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|seealso= [[get3DENMouseOver]] [[all3DENEntities]] [[collect3DENHistory]] [[get3DENEntityID]] [[get3DENSelected]] [[set3DENObjectType]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
}}

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