Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How many such game objects are we talking?

[DiscordArchive] How many such game objects are we talking?

[DiscordArchive] How many such game objects are we talking?

rektbyfaith
Administrator
0
02-18-2025, 07:37 PM
#1
Archived author: Honey • Posted: 2025-02-18T19:37:25.132000+00:00
Original source

How many such game objects are we talking?
rektbyfaith
02-18-2025, 07:37 PM #1

Archived author: Honey • Posted: 2025-02-18T19:37:25.132000+00:00
Original source

How many such game objects are we talking?

rektbyfaith
Administrator
0
02-18-2025, 07:43 PM
#2
Archived author: Sopze • Posted: 2025-02-18T19:43:23.419000+00:00
Original source

1
rektbyfaith
02-18-2025, 07:43 PM #2

Archived author: Sopze • Posted: 2025-02-18T19:43:23.419000+00:00
Original source

1

rektbyfaith
Administrator
0
02-18-2025, 07:46 PM
#3
Archived author: Honey • Posted: 2025-02-18T19:46:26.534000+00:00
Original source

Not really. There should be no impact.
As a general advice, you can always refactor later if you notice a huge performance impact. The core does things like that all the time and this would be just one GO'S AI.
rektbyfaith
02-18-2025, 07:46 PM #3

Archived author: Honey • Posted: 2025-02-18T19:46:26.534000+00:00
Original source

Not really. There should be no impact.
As a general advice, you can always refactor later if you notice a huge performance impact. The core does things like that all the time and this would be just one GO'S AI.

rektbyfaith
Administrator
0
02-18-2025, 07:47 PM
#4
Archived author: Sopze • Posted: 2025-02-18T19:47:21.497000+00:00
Original source

Cool thank you
rektbyfaith
02-18-2025, 07:47 PM #4

Archived author: Sopze • Posted: 2025-02-18T19:47:21.497000+00:00
Original source

Cool thank you

rektbyfaith
Administrator
0
02-18-2025, 08:48 PM
#5
Archived author: metallinos • Posted: 2025-02-18T20:48:44.238000+00:00
Original source

Though, wouldnt it be more natural to have the event on update AI than a timed event in that case? Also, I dont see any timer on CheckPlayerDistance. If it fires once per ms thats kinda bad; if its once per 100 ms like a normal GO AI update is perfectly fine
rektbyfaith
02-18-2025, 08:48 PM #5

Archived author: metallinos • Posted: 2025-02-18T20:48:44.238000+00:00
Original source

Though, wouldnt it be more natural to have the event on update AI than a timed event in that case? Also, I dont see any timer on CheckPlayerDistance. If it fires once per ms thats kinda bad; if its once per 100 ms like a normal GO AI update is perfectly fine

rektbyfaith
Administrator
0
02-18-2025, 08:49 PM
#6
Archived author: Honey • Posted: 2025-02-18T20:49:20.467000+00:00
Original source

I recon there's a RegisterEvent with 1000ms somewhere else.
rektbyfaith
02-18-2025, 08:49 PM #6

Archived author: Honey • Posted: 2025-02-18T20:49:20.467000+00:00
Original source

I recon there's a RegisterEvent with 1000ms somewhere else.

rektbyfaith
Administrator
0
02-18-2025, 08:49 PM
#7
Archived author: Honey • Posted: 2025-02-18T20:49:48.782000+00:00
Original source

On AIUpdate would be a good solution imo.
rektbyfaith
02-18-2025, 08:49 PM #7

Archived author: Honey • Posted: 2025-02-18T20:49:48.782000+00:00
Original source

On AIUpdate would be a good solution imo.

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