How to Reference SoundCue Parameters in BluePrints
I was hoping if I could get any information on a procedure for referencing Parameterized SoundCue nodes (like Continuous Modulator, Crossfade by Param, etc.) via BluePrints. I'd like to use arbitrary float values in BPs to automate SoundCue nodes.
Thanks for all your help, - Dan
asked Mar 27 '14 at 02:26 AM in Blueprint Scripting
There are a number of SoundCue nodes that have as a property a Parameter Name, this name corresponds to the entries in the InstanceParameters property of an AudioComponent.
For placed ambient sound actors (and other actors that expose the properties of the AudioComponent) you can add values to the InstanceParameters. In Blueprints, anywhere you have a reference to an AudioComponent (either via a component variable or the return value of PlaySoundAttached (PlaySoundAtLocation doesn't currently return a reference to an AudioComponent which is something we're reevaluating)) you can call the Set Float/Wave/Bool/Int Parameter to change the value of the parameter that the SoundNode is using.
answered Mar 27 '14 at 01:21 PM
Marc Audy STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here