{"name":"get3DENEntityID","title":"get3DENEntityID","type":"command","url":"https://community.bistudio.com/wiki/get3DENEntityID","revid":378236,"updated":"2026-03-20T13:50:55Z","groups":["Eden Editor"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Returns unique index of an Eden Entity. This number remains the same even after saving and loading the scenario. ´\n\n> [!NOTE]\n> Since Arma 3 v2.22 this command also returns the IDs of Eden Entities of type Object, Trigger, Group and Logic during preview.","syntaxes":[{"syntax":"get3DENEntityID entity","params":[{"name":"entity","type":"Eden Entity or Eden ID","type_expr":"Eden Entity | Eden ID"}],"returns":{"type":"Number","type_expr":"Number","description":"Eden ID If ID is not available, -1 is returned"},"form":"unary","right":{"text":"entity"}}],"examples":[{"code":["myID = get3DENEntityID player;"]}],"see_also":["get3DENEntity"]}