get3DENEntityID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 8: Line 8:
|descr= Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. {{Feature|Informative|This ID is only available in [[Eden Editor]].}}
|descr= Returns unique index of an [[Eden Entity]]. This number remains the same even after saving and loading the scenario. {{Feature|Informative|This ID is only available in [[Eden Editor]].}}


|s1= '''get3DENEntityID''' entity
|s1= '''get3DENEntityID''' entity


|p1= entity: [[Eden Entity]] or [[Eden ID]]
|p1= entity: [[Eden Entity]] or [[Eden ID]]

Revision as of 23:11, 19 June 2021

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