Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] but setActive and gridunload = true does exactly what you want in that case??

[DiscordArchive] but setActive and gridunload = true does exactly what you want in that case??

[DiscordArchive] but setActive and gridunload = true does exactly what you want in that case??

rektbyfaith
Administrator
0
11-25-2024, 07:54 PM
#1
Archived author: Jinnai • Posted: 2024-11-25T19:54:52.038000+00:00
Original source

but setActive and gridunload = true does exactly what you want in that case??
rektbyfaith
11-25-2024, 07:54 PM #1

Archived author: Jinnai • Posted: 2024-11-25T19:54:52.038000+00:00
Original source

but setActive and gridunload = true does exactly what you want in that case??

rektbyfaith
Administrator
0
11-25-2024, 07:55 PM
#2
Archived author: Northstrider • Posted: 2024-11-25T19:55:17.177000+00:00
Original source

yeah, that should usually do the trick
rektbyfaith
11-25-2024, 07:55 PM #2

Archived author: Northstrider • Posted: 2024-11-25T19:55:17.177000+00:00
Original source

yeah, that should usually do the trick

rektbyfaith
Administrator
0
11-25-2024, 07:55 PM
#3
Archived author: Vel • Posted: 2024-11-25T19:55:42.261000+00:00
Original source

Well, yeah? But on the same page I don't want to load all NPC on all maps. Hillsbrad is just enough. I mean, if what I posted above would work, then I can check for zone ID and do that. But you said I can flood RAM or world updates - which I don't want to. So I try to understand how to do this carefully.
rektbyfaith
11-25-2024, 07:55 PM #3

Archived author: Vel • Posted: 2024-11-25T19:55:42.261000+00:00
Original source

Well, yeah? But on the same page I don't want to load all NPC on all maps. Hillsbrad is just enough. I mean, if what I posted above would work, then I can check for zone ID and do that. But you said I can flood RAM or world updates - which I don't want to. So I try to understand how to do this carefully.

rektbyfaith
Administrator
0
11-25-2024, 07:56 PM
#4
Archived author: Jinnai • Posted: 2024-11-25T19:56:14.947000+00:00
Original source

a few years ago, i evaluated all creatures above a certain waypoint length and manually went through them, slapping setActive on them
[Image: image.png?ex=690c549e&is=690b031e&hm=287...2978e84e8&]
rektbyfaith
11-25-2024, 07:56 PM #4

Archived author: Jinnai • Posted: 2024-11-25T19:56:14.947000+00:00
Original source

a few years ago, i evaluated all creatures above a certain waypoint length and manually went through them, slapping setActive on them
[Image: image.png?ex=690c549e&is=690b031e&hm=287...2978e84e8&]

rektbyfaith
Administrator
0
11-25-2024, 07:56 PM
#5
Archived author: Alistar • Posted: 2024-11-25T19:56:26.095000+00:00
Original source

Then just make a list of the npcs and setactive to only them.
rektbyfaith
11-25-2024, 07:56 PM #5

Archived author: Alistar • Posted: 2024-11-25T19:56:26.095000+00:00
Original source

Then just make a list of the npcs and setactive to only them.

rektbyfaith
Administrator
0
11-25-2024, 07:56 PM
#6
Archived author: Northstrider • Posted: 2024-11-25T19:56:29.266000+00:00
Original source

what you can do instead is creating a player script that loads the grid at position xy on login
rektbyfaith
11-25-2024, 07:56 PM #6

Archived author: Northstrider • Posted: 2024-11-25T19:56:29.266000+00:00
Original source

what you can do instead is creating a player script that loads the grid at position xy on login

rektbyfaith
Administrator
0
11-25-2024, 07:56 PM
#7
Archived author: Jinnai • Posted: 2024-11-25T19:56:30.924000+00:00
Original source

and it did exactly what you are trying to archive
rektbyfaith
11-25-2024, 07:56 PM #7

Archived author: Jinnai • Posted: 2024-11-25T19:56:30.924000+00:00
Original source

and it did exactly what you are trying to archive

rektbyfaith
Administrator
0
11-25-2024, 07:56 PM
#8
Archived author: Vel • Posted: 2024-11-25T19:56:53.834000+00:00
Original source

Yes, that sounds like something that would be nice.
rektbyfaith
11-25-2024, 07:56 PM #8

Archived author: Vel • Posted: 2024-11-25T19:56:53.834000+00:00
Original source

Yes, that sounds like something that would be nice.

rektbyfaith
Administrator
0
11-25-2024, 07:56 PM
#9
Archived author: Northstrider • Posted: 2024-11-25T19:56:59.063000+00:00
Original source

so you only load the grid cell of the active npc and from there on it will keep walking when active
rektbyfaith
11-25-2024, 07:56 PM #9

Archived author: Northstrider • Posted: 2024-11-25T19:56:59.063000+00:00
Original source

so you only load the grid cell of the active npc and from there on it will keep walking when active

Recently Browsing
 
Recently Browsing