all3DENEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
|version1= 1.56


|1.56
|gr1= Eden Editor


|gr1= Eden Editor
|descr= Returns an array of all currently placed [[Eden Entity|Eden Editor entities]].
{{Feature|EdenEditor|This information is only available in [[:Category:Eden Editor|Eden Editor]]. If used during mission, it will return {{hl|[<nowiki/>[],[],[],[],[],[],[],[-999]]}}.}}
 
|s1= [[all3DENEntities]]


| Returns an array of all currently placed [[Eden Entity|Eden Editor entities]], including groups, waypoints, and markers in following format:
|r1= [[Array]] in format [[Array of Eden Entities]]
<pre> [objects, groups, triggers, systems, waypoints, markers, layers, comments]</pre>
* 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


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


| [[Array of Eden Entities]]
|x2= <sqf>all3DENEntities params ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];</sqf>


|x1= <code>[[systemChat]] [[str]] [[all3DENEntities]];</code>
|x3= <sqf>
|x2= <code>[[all3DENEntities]] [[params]] ["_objects","_groups","_triggers","_systems","_waypoints","_markers","_layers","_comments"]</code>
// 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]]
}}
}}

Latest revision as of 14:27, 9 July 2023

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