[DiscordArchive] And what is this for then?
[DiscordArchive] And what is this for then?
Archived author: Vel • Posted: 2024-11-25T19:39:48.075000+00:00
Original source
And what is this for then?
```
#
# BaseMapLoadAllGrids
# Description: Load all grids for base maps upon load. Requires GridUnload to be 0.
# This will take around 5GB of ram upon server load, and will take some time
# to initially load the server.
# Default: 0 - (Don't preload all base maps, dynamically load as used)
# 1 - (Preload all grids in all base maps upon load)
``` ?
Archived author: Jinnai • Posted: 2024-11-25T19:39:48.887000+00:00
Original source
We have a function that you can use via c++ script OR sai, its called SetActive
Archived author: stoneharry • Posted: 2024-11-25T19:39:54.794000+00:00
Original source
You can set the creature flag as active to keep it loaded while no players are around, as long as the grid is loaded
Archived author: Vel • Posted: 2024-11-25T19:40:21.637000+00:00
Original source
So this has to be set like this:
```
GridUnload = 0
BaseMapLoadAllGrids = 1
```
And then set the flag active for the NPC right?
Archived author: stoneharry • Posted: 2024-11-25T19:40:37.720000+00:00
Original source
iirc, yes.
Archived author: Vel • Posted: 2024-11-25T19:40:45.926000+00:00
Original source
Sorry, IIRC?
Archived author: Vel • Posted: 2024-11-25T19:40:49.870000+00:00
Original source
No idea what that mean.
Archived author: stoneharry • Posted: 2024-11-25T19:40:50.061000+00:00
Original source
if I recall correctly
Archived author: Vel • Posted: 2024-11-25T19:41:01.457000+00:00
Original source
Ah
Archived author: stoneharry • Posted: 2024-11-25T19:41:11.499000+00:00
Original source
Can search this Discord for us having this discussion in the past, one sec