get3DENEntity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(comments just like layers)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns [[Eden Entity]] based on its [[get3DENEntityID|unique ID]]. If the ID points to a layer, 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. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''get3DENEntity''' id|= Syntax
| '''get3DENEntity''' id|= Syntax
|p1= id: [[Number]] - entity ID |= PARAMETER1
|p1= id: [[Number]] - [[Eden ID]] |= PARAMETER1
| [[Eden Entity]] (when the target is [[Eden Entity]]) or [[Number]] (when the target is a layer)|= RETURNVALUE  
| [[Eden Entity]] (when the target is [[Eden Entity]]) or [[Number]] (when the target is a layer or a comment)|= RETURNVALUE  


|x1= <code>myEntity = [[get3DENEntity]] 1</code>|= EXAMPLE1  
|x1= <code>myEntity = [[get3DENEntity]] 1</code>|= EXAMPLE1  

Revision as of 12:34, 28 August 2018

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:
Uncategorised

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