Is there a way to access FMOD_STUDIO_PARAMETER_ID within a Studio Script?

Hey there,
I’m working on a small Fmod Studio tool where I need to access FMOD_STUDIO_PARAMETER_ID, yet I couldn’t find a way to go even into parameter descriptions. Is there a way to access that info within a Studio Script?

Hi,

With a parameter selected in the Preset Browser


using the console you can access its ID using:

studio.window.browserCurrent().id
{e9b7aafa-2df0-4193-b32e-a74e5753cfa0}

Is this what you were looking for?

If not, would it be possible to elaborate on what the script is aiming to do?

Hey Connor, that appears not the ID I’m looking for :slight_smile:

I’m looking for FMOD_STUDIO_PARAMETER_ID-type value, where I pass to SetParameterByID function.

1 Like

Hi,

I see, would it be possible to see the full script or could you elaborate on what you are trying to do with the script?

Thanks

Hey Connor, we’re trying to parse all event IDs to be passed to our dedicated server which doesn’t do FMOD at all yet still needs to know these IDs beforehand. Luckily we have access to the Source Code and found out how you generate those IDs. We’ll be mimicking that and all will be good.

Still, I think you need to come up with a way to access this ID for customers that doesn’t have Source code access.

Cheers,

1 Like

Hi,

Good to hear you found a solution. I will pass your suggestion on to our development team to look into further.