[DiscordArchive] Would the Global:RegisterUniqueCreatureEvent guid and instance_id relate to creature:GetGUID() and c
[DiscordArchive] Would the Global:RegisterUniqueCreatureEvent guid and instance_id relate to creature:GetGUID() and c
Archived author: functorism • Posted: 2024-01-05T19:58:19.663000+00:00
Original source
It appears to be handled in the code, it inserts the func ref in the binding map and that looks correct. But I'm not sure about how the rest should work to know if it's missing an impl or not.
Archived author: Honey • Posted: 2024-01-05T20:09:05.618000+00:00
Original source
Without looking into it, I expect Eluna itself to be fine. It's more likely to be a missing or wrongly placed hook in AC.
Archived author: functorism • Posted: 2024-01-05T20:09:56.758000+00:00
Original source
Appears to be implemented
```
//Called at waypoint reached or PointMovement end
bool Eluna::MovementInform(Creature* me, uint32 type, uint32 id)
{
START_HOOK_WITH_RETVAL(CREATURE_EVENT_ON_REACH_WP, me, false);
Push(me);
Push(type);
Push(id);
return CallAllFunctionsBool(CreatureEventBindings, CreatureUniqueBindings, entry_key, unique_key);
}
```
Archived author: functorism • Posted: 2024-01-05T20:10:17.182000+00:00
Original source
And I can't get any hooks to work with the RegisterUniqueCreatureEvent