WHUserApi::GetUnit (open)
Get the unit object for a unit
Syntax
LOADLIB "mod::wrd/lib/internal/userapi.whlib";
OBJECT FUNCTION GetUnit(INTEGER entityid)Parameters
INTEGER entityidEntity ID of the unit
Return value
OBJECTUnit object
Get the unit object for a unit
LOADLIB "mod::wrd/lib/internal/userapi.whlib";
OBJECT FUNCTION GetUnit(INTEGER entityid)INTEGER entityidEntity ID of the unit
OBJECTUnit object