[DiscordArchive] Getting the guid of a specific creature seems so difficult though, considering RegisterCreatureEvent
[DiscordArchive] Getting the guid of a specific creature seems so difficult though, considering RegisterCreatureEvent
Archived author: Fero • Posted: 2021-09-10T07:07:00.623000+00:00
Original source
Getting the guid of a specific creature seems so difficult though, considering RegisterCreatureEvent, that returns the creature object, takes the creature id from creature_template, and then returns the guid of all the creatures spawned??
Archived author: Honey • Posted: 2021-09-10T07:38:54.136000+00:00
Original source
I dont know what route the functions/voids go. Keep in mind that Not every void is exposed to Eluna
Archived author: Fero • Posted: 2021-09-10T07:41:51.996000+00:00
Original source
is there no way i can get the guid of a single creature using either it's template_id or entry in the creature table without making a "registercreatureevent" for EVERY single creature that i want to be affected? :/
Archived author: Fero • Posted: 2021-09-10T07:42:17.384000+00:00
Original source
plus, if i create a RegisterCreatureEvent, i'll have to spam the database perhaps thousands of times for guids over and over
Archived author: Fero • Posted: 2021-09-10T07:58:17.147000+00:00
Original source
<@!595620700706832414> how does http://eluna.uiwow.com/Global/GetUnitGUID.html work? it entry is lowguid it's just going to be entry entry?
[Embed: Global:GetUnitGUID - Eluna]
API documentation for the Global:GetUnitGUID method in the Eluna engine.
http://eluna.uiwow.com/Global/GetUnitGUID.html
Archived author: Honey • Posted: 2021-09-10T08:03:02.619000+00:00
Original source
Entry is the `creature_template`
LowGuid is the creature id in `creature`. Unique to all creatures.
Guid is the core-wide unique id across all worldobjects, which identifies this very creature (at runtime)
Archived author: Fero • Posted: 2021-09-10T08:08:12.130000+00:00
Original source
local creature = GetUnitGUID(500000, 75000) -- 500000 being from creature and 75000 being from creature_template should work correct?
Archived author: Honey • Posted: 2021-09-10T08:09:23.178000+00:00
Original source
`creature` is the guid then. I think you want to convert it to the object
Archived author: Fero • Posted: 2021-09-10T08:10:06.022000+00:00
Original source
17379399636802827768 this is the value of creature
Archived author: Fero • Posted: 2021-09-10T08:10:48.060000+00:00
Original source
the ingame **.npc info** guid of my creature is 2140