Jump to content

Underwater NPCs

Pending 1.4.1

Somescrub
Somescrub

Posted (edited)

I have an issue where, in the event a player builds on a small ocean island with no excess land, the raiding npcs are spawning underwater and running around underwater. In many cases the water is too deep to shoot through, and the npcs are unaffected by water in ways players are which make it very wonky and unrealistic.

I did apply a block to ocean and oceanside colliders, but they just spawn farther away and run over to the event still.

Is it possible to add a "is underwater = kill" config check, similar to how raidablebases does a check for npcs underwater? I imagine this is the most straightforward way to resolving this?

Edited by Somescrub

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.5k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.