Jump to content

Get zombies around a player?


Maris

Recommended Posts

Hello. I use this code to get list of zombies:

local zlist = player:getCell():getZombieList();

Unfortunately in multiplayer sometimes there are zombies with distance over 1000 from player. Is it a bug or a feature? I think this is zombies around another player on the same server. Or it may be old zombies from locations that my character just left.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...