all3DENEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added command)
 
m (Text replacement - "|EdenEditor" to "|Eden Editor")
 
(48 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


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


| Returns an array of all currently placed 3DEN Editor entities, including groups, waypoints, and markers. |= Description
|descr= Returns an array of all currently placed [[Eden Entity|Eden Editor entities]].
____________________________________________________________________________________________
{{Feature|Eden Editor|This information is only available in [[:Category:Eden Editor|Eden Editor]]. If used during mission, it will return {{hl|[<nowiki/>[],[],[],[],[],[],[],[-999]]}}.}}


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


| [[Array]] in format: [objects,groups,triggers,logic,[[waypoints]],markers]|= RETURNVALUE
|r1= [[Array]] in format [[Array of Eden Entities]]


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


|x1= <code>[[systemChat]] [[str]] [[all3DENEntities]];
|x2= <sqf>all3DENEntities params ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];</sqf>
/* outputs: [
[B Clockblocker 2-1:1],//units
[B Clockblocker 2-1],//groups
[164494: <no shape>],//triggers
[<No center> Charlie 1-2:4],//logic
[[B Clockblocker 2-1,0]],//waypoints
["Hotel_Whiskey"]//markers
]*/</code>|= EXAMPLE1
____________________________________________________________________________________________


|  
|x3= <sqf>
[[get3DENMouseOver]]
// select all Eden entities
[[add3DENConnection]]
set3DENSelected all3DENEntities;
[[add3DENEventHandler]]
</sqf>
[[collect3DENHistory]]
 
[[create3DENComposition]]
|seealso= [[get3DENMouseOver]] [[delete3DENEntities]] [[get3DENEntityID]] [[get3DENSelected]]
[[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:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: 3DEN|{{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