Get parameter value?

Hello,

I was just wondering if there is a way to get parameter value?

Thanks

Yes it just depends on how you are using the event you want to access.
If you are using the FMODStudioEventEmitter script, you will need to access the instance it contains:

StudioEventEmitter.instance.getParameterValue(stringName, out value1, out finalValue);

Or if you have created your own event in your own script:

FMOD.Studio.EventInstance.getParameterValue(stringName, out value1, out finalValue);
https://www.fmod.org/docs/content/generated/FMOD_Studio_EventInstance_GetParameterValue.html

Also you could store a reference to the parameter and get/set the value from that:

StudioEventEmitter.instance.getParameter(stringName, out FMOD.Studio.ParameterInstance);
or:
FMOD.Studio.EventInstance.getParameter(stringName, out FMOD.Studio.ParameterInstance);

https://www.fmod.org/docs/content/generated/studio_api_ParameterInstance.html

Thank you very much Cameron, it works!