[ACS] Looking for specific Actor in Another Actor's Radius?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
XLightningStormL
Posts: 384
Joined: Mon May 09, 2016 1:38 am
Location: Anywhere but here
Contact:

[ACS] Looking for specific Actor in Another Actor's Radius?

Post by XLightningStormL »

Hi All,

Essentially I'm asking for if there's anyway, or specific functions that will check for actors in it's Radius? Specifically this is for a Geiger Counter for Resurrected Nightmare that detects for "secret radiation giver entities" within it's radius, and plays a local sound file accordingly.
User avatar
Dan_The_Noob
Posts: 870
Joined: Tue May 07, 2019 12:24 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [ACS] Looking for specific Actor in Another Actor's Radi

Post by Dan_The_Noob »

i think there are flags for species? but i don't remember the exact line for it.
Post Reply

Return to “Scripting”