get3DENSelected: Difference between revisions
Jump to navigation
Jump to search
(page overhaul) |
Lou Montana (talk | contribs) m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ") |
||
Line 9: | Line 9: | ||
|descr= Returns an array of all selected [[Eden Entity|Eden Editor Entities]] of the given type. | |descr= Returns an array of all selected [[Eden Entity|Eden Editor Entities]] of the given type. | ||
|s1= | |s1= [[get3DENSelected]] type | ||
|p1= type: [[String]] - Entity type, can be:<br> | |p1= type: [[String]] - Entity type, can be:<br> |
Revision as of 16:43, 12 June 2021
Description
- Description:
- Returns an array of all selected Eden Editor Entities of the given type.
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENSelected type
- Parameters:
- type: String - Entity type, can be:
- "object"
- "group"
- "trigger"
- "logic"
- "waypoint"
- "marker"
- "layer"
- "comment"
- "" - All types except "layer" and "comment"
- Return Value:
- Array - Array of given entity type or all types except "layer" and "comment". In case of wrong type [[], [], [], [], [], []] is returned an an error message is shown
Examples
- Example 1:
get3DENSelected ""; Template:ccml
- Example 2:
get3DENSelected "object"; // Returns [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