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 entityid
Entity ID of the unit
Return value
OBJECT
Unit object
Get the unit object for a unit
LOADLIB "mod::wrd/lib/internal/userapi.whlib";
OBJECT FUNCTION GetUnit(INTEGER entityid)
INTEGER entityid
Entity ID of the unit
OBJECT
Unit object