View Single Post
Old 17-03-18, 23:12  
Joey79100
Professor
 
Joey79100's Avatar
 
Join Date: Mar 2012
Location: France
Posts: 2,708
Default

We have triggers for playing a sound effect. However, it plays at Lara's position (or the camera's one).
The original SoundEffect function of the engine can receive a position parameter.

It would be great if we could have an Action trigger that would allow playing a sound at a specific object's position (that way we could also set sounds for the flare). The duration parameter would have to be omitted with this trigger obviously, as we're limited by the number of parameters a trigger can hold, but maybe two variations of the trigger could be done, one that would play the sound once, and another that would play it in loop.
We'd be able to attach sounds to any item we want, including generated ones (using TGROUP_FOUND_ITEM_INDEX), so the TR2-3-like looping flare sound would be possible.
__________________
📸|"Everytime you use WadMerger's Sound Manager, a kitten drowns in a poop pool."
Joey79100 is offline   Reply With Quote