Regeneration sound

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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!)
User avatar
Amuscaria
Posts: 6635
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Regeneration sound

Post by Amuscaria »

Is it possible in decorate to give the regeneration power a sound effect every time it gives you health?
Blue Shadow
Posts: 5046
Joined: Sun Nov 14, 2010 12:59 am

Re: Regeneration sound

Post by Blue Shadow »

See [wiki=Classes:PowerRegeneration]PowerRegeneration[/wiki].

Edit: if the intention is to set the sound purely from DECORATE, then no, it isn't possible. The only way is to define a "*regeneration" sound in SNDINFO for the player.
User avatar
Amuscaria
Posts: 6635
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: Regeneration sound

Post by Amuscaria »

Blue Shadow wrote:See [wiki=Classes:PowerRegeneration]PowerRegeneration[/wiki].

Edit: if the intention is to set the sound purely from DECORATE, then no, it isn't possible. The only way is to define a "*regeneration" sound in SNDINFO for the player.
Ah cool! That works. Thanks! :D

Return to “Scripting”