HomeWildfire Games

Add a new function to emit a sound from a position not attached to an entity.

Description

Add a new function to emit a sound from a position not attached to an entity. Use it to improve the attack impact sound code and allow to emit that sound even if the attacker died meanwhile. Use the sound provided by Pureon for catapult. Fix #4779.

Patch By: Mate-86
Differential Revision: https://code.wildfiregames.com/D921

Details

Committed
fatherbushidoSep 28 2017, 9:26 PM
Differential Revision
D921: Projectile hit sound
Parents
rP20235
Branches
Unknown
Tags
Unknown
Build Status
Buildable 3272
Build 5653: Trigger Windows Autobuild
Build 5652: Post-Commit BuildJenkins

Event Timeline

Stan added a subscriber: Stan.Sep 29 2017, 12:34 AM

Can this be used for ambient sounds as well ?

elexis added a subscriber: elexis.Sep 29 2017, 12:40 AM
In rP20236#23478, @Stan wrote:

Can this be used for ambient sounds as well ?

That'd be ugly to play sound files using a trigger script. An ambient sound should be placed rather and have some settings. P41 was about that.