all3DENEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands)
m (Text replacement - "|EdenEditor" to "|Eden Editor")
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


|arma3|= Game name
|game1= arma3
|version1= 1.56


|1.56|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________


| Returns an array of all currently placed [[Eden Entity|Eden Editor entities]], including groups, waypoints, and markers in following format:
|descr= Returns an array of all currently placed [[Eden Entity|Eden Editor entities]].
<pre> [objects, groups, triggers, systems, waypoints, markers, layers, comments]</pre>
{{Feature|Eden Editor|This information is only available in [[:Category:Eden Editor|Eden Editor]]. If used during mission, it will return {{hl|[<nowiki/>[],[],[],[],[],[],[],[-999]]}}.}}
* objects: [[Array]] of [[Object]]s
* groups: [[Array]] of [[Group]]s
* triggers: [[Array]] of [[Object]]s
* systems: [[Array]] of [[Object]]s
* waypoints: [[Array]] of [[Array]]s in [[Waypoint]] format
* markers: [[Array]] of [[String]]s
* layers: [[Array]] of [[Number]]s
* comments: [[Array]] of [[Number]]s |= Description
____________________________________________________________________________________________


| '''all3DENEntities'''|= Syntax
|s1= [[all3DENEntities]]


| [[Array of Eden Entities]] |= RETURNVALUE
|r1= [[Array]] in format [[Array of Eden Entities]]


|x1= <sqf>systemChat str all3DENEntities;</sqf>


|x1= <code>[[systemChat]] [[str]] [[all3DENEntities]];</code>|= EXAMPLE1
|x2= <sqf>all3DENEntities params ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];</sqf>


____________________________________________________________________________________________
|x3= <sqf>
// select all Eden entities
set3DENSelected all3DENEntities;
</sqf>


|  
|seealso= [[get3DENMouseOver]] [[delete3DENEntities]] [[get3DENEntityID]] [[get3DENSelected]]
[[get3DENMouseOver]]
[[add3DENConnection]]
[[add3DENEventHandler]]
[[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
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: Scripting Commands]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]

Latest revision as of 19:21, 10 July 2024

Hover & click on the images for description

Description

Description:
Returns an array of all currently placed Eden Editor entities.
Eden Editor
This information is only available in Eden Editor. If used during mission, it will return [[],[],[],[],[],[],[],[-999]].
Groups:
Eden Editor

Syntax

Syntax:
all3DENEntities
Return Value:
Array in format Array of Eden Entities

Examples

Example 1:
systemChat str all3DENEntities;
Example 2:
all3DENEntities params ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];
Example 3:
// select all Eden entities set3DENSelected all3DENEntities;

Additional Information

See also:
get3DENMouseOver delete3DENEntities get3DENEntityID get3DENSelected

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