get3DENEntity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|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. |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.


| '''get3DENEntity''' id|SYNTAX=
| '''get3DENEntity''' id
|p1= id: [[Number]] - [[Eden ID]] |PARAMETER1=
|p1= id: [[Number]] - [[Eden ID]]
| [[Eden Entity]] (when the target is [[Eden Entity]]) or [[Number]] (when the target is a layer or a comment)|RETURNVALUE=
| [[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>|EXAMPLE1=
|x1= <code>myEntity = [[get3DENEntity]] 1</code>


| [[get3DENEntityID]] |SEEALSO=
| [[get3DENEntityID]]
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
}}
}}

Revision as of 01:34, 18 January 2021

Hover & click on the images for description

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


Bottom Section