Description
Returns unique index of an Eden Entity. This number remains the same even after saving and loading the scenario. ´
Note
Since Arma 3 v2.22 this command also returns the IDs of Eden Entities of type Object, Trigger, Group and Logic during preview.
Syntax
get3DENEntityID entity
Parameters:
entity: Eden Entity or Eden ID
Returns: Number - Eden ID If ID is not available, -1 is returned
Examples
Example 1
myID = get3DENEntityID player;