Arma 3 Scripting

Command in Eden Editor

get3DENEntityID

Also available as Markdown and JSON, or read the 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