Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Windwalking

All units in a radius

Recommended Posts

I need to find all units that are of type man in a radius around the player. I am trying nearestObjects(["Man"], 500) but for some reason it returns nothing all the time. Any idea what am I doing wrong?

Share this post


Link to post
Share on other sites

Those need to be brackets not parentheses:

_myFriends = nearestObjects[color="#FF0000"][[/color]player, ["Man"], 500[color="#FF0000"]][/color];

Share this post


Link to post
Share on other sites
Sign in to follow this  

×