all3DENEntities: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(11 intermediate revisions by 2 users not shown)
Line 7: Line 7:


|descr= Returns an array of all currently placed [[Eden Entity|Eden Editor entities]].
|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]]  
|s1= [[all3DENEntities]]  


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


|x1= <code>[[systemChat]] [[str]] [[all3DENEntities]];</code>
|x1= <sqf>systemChat str all3DENEntities;</sqf>


|x2= <code>[[all3DENEntities]] [[params]] ["_objects", "_groups", "_triggers", "_systems", "_waypoints", "_markers", "_layers", "_comments"];</code>
|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]]
|seealso= [[get3DENMouseOver]] [[delete3DENEntities]] [[get3DENEntityID]] [[get3DENSelected]]
}}
}}

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