get3DENEntityID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 13: Line 13:
|r1= [[Number]] - [[Eden ID]] If ID is not available, -1 is returned
|r1= [[Number]] - [[Eden ID]] If ID is not available, -1 is returned


|x1= <code>myID = get3DENEntityID player</code>
|x1= <sqf>myID = get3DENEntityID player</sqf>


|seealso= [[get3DENEntity]]
|seealso= [[get3DENEntity]]
}}
}}

Revision as of 10:23, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns unique index of an Eden Entity. This number remains the same even after saving and loading the scenario.
This ID is only available in Eden Editor.
Groups:
Eden Editor

Syntax

Syntax:
get3DENEntityID entity
Parameters:
entity: Eden Entity or Eden ID
Return Value:
Number - Eden ID If ID is not available, -1 is returned

Examples

Example 1:
myID = get3DENEntityID player

Additional Information

See also:
get3DENEntity

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