How to Read Current Global Parameter Value?

I would like to use a Command Instrument to set a Global Parameter value at a specific point on the timeline, and be able to get the parameter value in my Unity script. My current code doesn’t return the value set by Command Instruments.

FMODUnity.RuntimeManager.StudioSystem.getParameterByName(paramName, out paramVal);

Set Global Parameter Code:

FMODUnity.RuntimeManager.StudioSystem.setParameterByName(paramName, paramValue);

Setting a parameter works, and getParameterByName will return the value updated by setParameterByName, but it won’t return a value set by a Command Instrument.

Using Studio::System::getParameterByName, you have the option of also getting the ‘finalvalue’ which is the combined parameter value after it has been processed.