get3DENEntityID: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2")
Line 6: Line 6:
|gr1= Eden Editor
|gr1= 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]].}}
|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 [[:Category:Eden Editor]].}}


|s1= [[get3DENEntityID]] entity
|s1= [[get3DENEntityID]] entity

Revision as of 14:20, 9 July 2023

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