Jump to content

How to confirm player's targets


Guest gglams
 Share

Recommended Posts

something like

target->GetTypeId() == TYPEID_PLAYER

enum TypeID
{
   TYPEID_OBJECT        = 0,
   TYPEID_ITEM          = 1,
   TYPEID_CONTAINER     = 2,
   TYPEID_UNIT          = 3,
   TYPEID_PLAYER        = 4,
   TYPEID_GAMEOBJECT    = 5,
   TYPEID_DYNAMICOBJECT = 6,
   TYPEID_CORPSE        = 7
};

there are many others, just search

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use