Forums WoW Modding Support Archives Azerothcore Discord Archives [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?

[DiscordArchive] Is there a way to make a creature "Always Loaded" regardless of where it is in the world?

rektbyfaith
Administrator
0
09-11-2021, 12:56 PM
#1
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?
rektbyfaith
09-11-2021, 12:56 PM #1

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?

rektbyfaith
Administrator
0
09-11-2021, 01:55 PM
#2
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.
rektbyfaith
09-11-2021, 01:55 PM #2

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.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)