View Single Post
Old 18-03-18, 00:12   #363
Joey79100's Avatar
Join Date: Mar 2012
Location: France
Posts: 2,985

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.
"sdfgisdgdsfgdsfgdsgfsdgsgfdgsfgdsf" ~ SrDanielPonces
Joey79100 is offline   Reply With Quote