set3DENSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Text replacement - "{{Feature|Warning|" to "{{Feature|warning|")
 
(15 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
| Changes selection in 3den to what is inside entities array. |DESCRIPTION=
|version1= 1.56
| '''set3DENSelected''' entities |SYNTAX=
 
|p1= entities: [[Array]] of types [[Eden Entity]] or [[Eden ID]] |PARAMETER1=
|gr1= Eden Editor
|p2=  |PARAMETER2=
 
| [[Nothing]] |RETURNVALUE=
|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!}}
|x1= <code>[[set3DENSelected]] [0,5,3,6,7,12];</code> |EXAMPLE1=
 
|
|s1= [[set3DENSelected]] entities
[[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'>
|p1= entities: [[Array]] of [[Eden Entity]] or [[Eden ID]]
<!-- 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>
|r1= [[Nothing]]


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


{{GameCategory|arma3|Scripting Commands}}
|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