[DiscordArchive] Sounds reasonable, how can I store something in „map context“ without adding it to Map.h/Map.cpp / w
[DiscordArchive] Sounds reasonable, how can I store something in „map context“ without adding it to Map.h/Map.cpp / w
Archived author: sudlud • Posted: 2023-12-12T09:48:08.782000+00:00
Original source
Sounds reasonable, how can I store something in „map context“ without adding it to Map.h/Map.cpp / without core edit? I mean I can take care that only npcs from the same map access a certain static variable in the npc script, but maybe there’s a better way?
Archived author: sudlud • Posted: 2023-12-12T10:36:02.579000+00:00
Original source
In the end all I really want is an event related script that is definitely running while the event is active to handle the zone wide buffs or to load grids if e.g. players enter a zone. Until now I couldn’t find any existing mechanic to do this without any core edit ..
Archived author: sudlud • Posted: 2023-12-12T10:37:25.922000+00:00
Original source
Smartscript / SmartAI requires a spawned creature in a loaded grid, conditions also do not seem to fit, in the end it would be enough to force load one grid on event start to get the whole thing starting
Archived author: sudlud • Posted: 2023-12-12T10:38:07.785000+00:00
Original source
It still feels like I’m missing something or looking in the wrong direction
Archived author: sudlud • Posted: 2023-12-12T12:07:39.138000+00:00
Original source
Oh well, GameEventScript might be what I’m looking for