• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore WotLK GUID

Could someone explain me how GUID work exactly?

Like does every npc (even the same entries) have a unique something to be reconized?
And how can you get lets say a players guid or a specific npc guid.
Also what are LowGUID's.
How can you get a specific guid for a player's current character. Not just the account name. Seems i can't find a GetName for players on the eluna api.

Sorry to ask you so many questions.
Just trying to get trough everything i will need.
 

Tommy

Founder
Could someone explain me how GUID work exactly?

Like does every npc (even the same entries) have a unique something to be reconized?
And how can you get lets say a players guid or a specific npc guid.
Also what are LowGUID's.
How can you get a specific guid for a player's current character. Not just the account name. Seems i can't find a GetName for players on the eluna api.

Sorry to ask you so many questions.
Just trying to get trough everything i will need.

Eluna API explains all of your method questions.
- Eluna API

1. Yes. Every gameobject, item, npc, etc. has a specific guid to make that object unique to the world.
2. Call :GetGUID() via player, gameobject and other object types.
3. Explained in Object:GetGUIDLow() & Global:GetGUIDLow() doc entry.
4. Same as #2, you'd call "player:GetGUID()". In most cases "GetGUIDLow()" is somewhat recommended to use than "GetGUID()". :GetName() exists. Search Eluna API.
 
Top