Page MenuHomeFeedback Tracker

get3DENEntity returns wrong data type on "failure"
Closed, ResolvedPublic


Using any non-existing entity id with get3DENEntity returns -1 instead of objNull.

This has been happening ever since the Eden commands that returned nothing on failure were fixed to return a value in some patch a long time ago.
No idea if other 3DEN commands are similarly bugged.

get3DENEntityID objNull returns -1
get3DENEntity -1 returns -1, it should return objNull obviously since the command is meant to return an object


Won't Fix
Operating System
Windows 10 x64
Steps To Reproduce
  • Put get3DENEntity -1 (or any non-existing entity id) in one watch field on the debug console
  • Put get3DENEntityID objNull on another watch field
  • observe the wrong data type being returned by get3DENENtity

Event Timeline

h- created this task.Jul 31 2020, 8:24 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.EditedAug 1 2020, 12:18 PM

the command returns both number and object bad design decision, nevertheless it is to late to change anything now

BIS_fnc_KK closed this task as Resolved.Aug 1 2020, 12:23 PM
BIS_fnc_KK changed Resolution from Open to Won't Fix.