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