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!)
I have babies as NPCs in my game. Originally, they were mute but then I deceided to give them a crying "active" sound but the sound doesn't play. I have scripted it the same way I script my monsters sounds, what am I doing wrong here please? Here is the code.
I'm pretty sure A_ActiveSound doesn't have the chance part of it, though. Might just need to replicate the A_Chase sound logic through an anonymous or ZScript function.