get3DENEntity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
|arma3 | |arma3 | ||
|1.56 | |1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Returns [[Eden Entity]] based on its [[Eden ID]]. If the ID points to a layer or a comment, the ID will be returned instead. | | Returns [[Eden Entity]] based on its [[Eden ID]]. If the ID points to a layer or a comment, the ID will be returned instead. | ||
| '''get3DENEntity''' id | | '''get3DENEntity''' id | ||
|p1= id: [[Number]] - [[Eden ID]] | |p1= id: [[Number]] - [[Eden ID]] | ||
| [[Eden Entity]] (when the target is [[Eden Entity]]) or [[Number]] (when the target is a layer or a comment) | | [[Eden Entity]] (when the target is [[Eden Entity]]) or [[Number]] (when the target is a layer or a comment) | ||
|x1= <code>myEntity = [[get3DENEntity]] 1</code> | |x1= <code>myEntity = [[get3DENEntity]] 1</code> | ||
| [[get3DENEntityID]] | | [[get3DENEntityID]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} |
Revision as of 00:34, 18 January 2021
Description
- Description:
- Returns Eden Entity based on its Eden ID. If the ID points to a layer or a comment, the ID will be returned instead.
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENEntity id
- Parameters:
- id: Number - Eden ID
- Return Value:
- Eden Entity (when the target is Eden Entity) or Number (when the target is a layer or a comment)
Examples
- Example 1:
myEntity = get3DENEntity 1
Additional Information
- See also:
- get3DENEntityID
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
Notes