get3DENSelected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Fix) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
|s1= [[get3DENSelected]] type | |s1= [[get3DENSelected]] type | ||
|p1= type: [[String]] - | |p1= type: [[String]] - entity type, can be one of: | ||
{{Columns|2| | {{Columns|2| | ||
* {{hl|"object"}} | * {{hl|"object"}} | ||
Line 35: | Line 35: | ||
[164494: <no shape>], // triggers | [164494: <no shape>], // triggers | ||
[<No center> Charlie 1-2:4], // logic | [<No center> Charlie 1-2:4], // logic | ||
[[B Alpha 2-1,0]], // waypoints | [<nowiki/>[B Alpha 2-1,0]], // waypoints | ||
["Hotel_Whiskey"] // markers | ["Hotel_Whiskey"] // markers | ||
] | ] |
Latest revision as of 19:46, 8 October 2024
Description
- Description:
- Returns an array of all selected Eden Editor Entities of the given type.
If a wrong type is provided, [[], [], [], [], [], []] is returned and an error message is shown. - Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENSelected type
- Parameters:
- type: String - entity type, can be one of:
- "object"
- "group"
- "trigger"
- "logic"
- "waypoint"
- "marker"
- "layer"
- "comment"
- "" - everything but "layer" and "comment"
- Return Value:
- Array - array of entities
Examples
- Example 1:
- get3DENSelected ""; /* [ [B Alpha 2-1:1], // objects [B Alpha 2-1], // groups [164494: <no shape>], // triggers [<No center> Charlie 1-2:4], // logic [[B Alpha 2-1,0]], // waypoints ["Hotel_Whiskey"] // markers ] */
- Example 2:
- get3DENSelected "object"; // [B Alpha 2-1:1]
Additional Information
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