set3DENSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |p3= |PARAMETER3= |p3= |PARAMETER4= |p3= |PARAMETER5= |p3= |PARAMETER6=" to "")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
 
|arma3 |Game name=
|game1= arma3
|1.56|Game Version=
|version1= 1.56
|arg=  |Multiplayer Arguments=
 
|eff=  |Multiplayer Effects=
|gr1= Eden Editor
____________________________________________________________________________________________
 
| Changes selection in 3den to what is inside entities array. |DESCRIPTION=
|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!}}
____________________________________________________________________________________________
 
| '''set3DENSelected''' entities |SYNTAX=
|s1= [[set3DENSelected]] entities
|p1= entities: [[Array]] of types [[Eden Entity]] or [[Eden ID]] |PARAMETER1=
 
|p2=  |PARAMETER2=
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]
| [[Nothing]] |RETURNVALUE=
|x1=  |EXAMPLE1=
|
[[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 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