Arma 3 Scripting

get3DENEntityID

  • Arma 3 v1.56

Command · Markdown · JSON · original wiki page

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:

Returns: Number - Eden ID If ID is not available, -1 is returned

Examples

Example 1

myID = get3DENEntityID player;

See also

get3DENEntity