# Feature Request (One Shot audio with parameter)

**URL:** <https://qa.fmod.com/t/feature-request-one-shot-audio-with-parameter/18133>\
**Category:** Unity\
**Created:** [December 22, 2021, 9:53am UTC](https://qa.fmod.com/t/feature-request-one-shot-audio-with-parameter/18133 "2021-12-22T09:53:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaireonGames](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@LaireonGames](https://qa.fmod.com/u/LaireonGames)\
**Post date:** [December 22, 2021, 9:53am UTC](https://qa.fmod.com/t/feature-request-one-shot-audio-with-parameter/18133/1 "2021-12-22T09:53:14Z")

</div>

Hey folks,

Each time I update I add this method to the RuntimeManager:

public static void PlayOneShot(FMOD.GUID guid, Vector3 position, PARAMETER\_ID parameter, float parameterValue)  
{  
EventInstance instance = CreateInstance(guid);  
instance.set3DAttributes(RuntimeUtils.To3DAttributes(position));  
instance.setParameterByID(parameter, parameterValue);  
instance.start();  
instance.release();  
}

Any chance of getting it officially added?

I find it helpful for things like thunder, I know it will be a one shot but I also want to set a parameter for it depending on this bolts intensity

---

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [December 23, 2021, 5:34am UTC](https://qa.fmod.com/t/feature-request-one-shot-audio-with-parameter/18133/2 "2021-12-23T05:34:17Z")

</div>

That does sound like a useful thing to have, I’ll add this as a feature request, thanks for bringing this to our attention!
