Jump to content
Sign in to follow this  
wbulot

Get all zombies entity arround position

Recommended Posts

Hi Guys,

I can't find out how to get all zombies entities around a specific position.

Is there a function to do that ? Like GetGame().GetPlayers() but for zombies or something to get all objects around where I could filter by zombies.

Thank you

Share this post


Link to post
Share on other sites

A little late but if you still need it:

https://gist.github.com/greeneman42/54aa86a56e2a8617778f48e727a427dd

Returns an array of nearby zombies as type Object.  You might need to cast it to something else like ZombieBase for whatever you're trying to do.

Note: It will return dead zombies too!

Edited by Dylan Greene

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×