[DiscordArchive] Does anyone know anywayy to check if a unit upon loading the area is under the ground?
[DiscordArchive] Does anyone know anywayy to check if a unit upon loading the area is under the ground?
Archived author: Ryan Turner • Posted: 2025-01-23T12:25:25.595000+00:00
Original source
Does anyone know anywayy to check if a unit upon loading the area is under the ground?
Archived author: Rymercyble • Posted: 2025-01-23T12:55:44.022000+00:00
Original source
question is why would it be under ground
Archived author: Rymercyble • Posted: 2025-01-23T12:55:49.476000+00:00
Original source
https://tenor.com/view/cat-stare-catstar...9944709546
Archived author: Tereneckla • Posted: 2025-01-23T12:56:32.815000+00:00
Original source
it's a mole
Archived author: Ryan Turner • Posted: 2025-01-23T13:01:01.027000+00:00
Original source
Many of the times because probably wrong spawn info. I wanted to know if it's there a better way to find out instead of checking their spawns or seeing them weeeee under the ground
Archived author: Rymercyble • Posted: 2025-01-23T13:02:16.060000+00:00
Original source
if its only for debug u could put check into update loop of all creatures to see if they are below lowest point of given map
Archived author: Rymercyble • Posted: 2025-01-23T13:02:30.882000+00:00
Original source
note that that will cost lot of performance for big maps
Archived author: Ryan Turner • Posted: 2025-01-23T13:03:34.121000+00:00
Original source
It's something temp to check it so it's fine. Do you have any idea where this could be checked in?
Archived author: Rymercyble • Posted: 2025-01-23T13:04:28.189000+00:00
Original source
i think u could just retrieve position of npc and check if its at Z 0 or lower than 50 or whatever since i dont think any map is that close to bottom of map space
Archived author: Rymercyble • Posted: 2025-01-23T13:04:50.849000+00:00
Original source
and if its there it definitely means its under map