[DiscordArchive] Is there a way to make a creature "Always Loaded" regardless of where it is in the world?
[DiscordArchive] Is there a way to make a creature "Always Loaded" regardless of where it is in the world?
Archived author: Fero • Posted: 2021-09-11T12:56:13.103000+00:00
Original source
Is there a way to make a creature "Always Loaded" regardless of where it is in the world?
Archived author: Fero • Posted: 2021-09-11T13:55:24.363000+00:00
Original source
Also Eluna API is broken/limited by Azerothcore
In order to get the Guidlow of a creature, you need a creature object.
In order to make a creature object you need the Guidlow.
or register a RegisterCreatureEvent that only triggers once you are near the creature.
So if you need 1000 the Guidlow of 1000 creatures, you would need to register 1000 creature events and run all over the world to "trigger" the events.
You can not loop through a list and create RegisterXEvents
There is no way to make any dynamic world events, this seems to be because, there is no way to keep entities loaded, whenever they are away from players
Say you have a custom event loaded, if a player were to just leave, the event would simply be cancelled or stopped. it doesn't seem like there is a way to keep it going whenever there are no players nearby
There is not a lot you can do with LUA if it doesn't involve players.