Thanks! Hee hee!
[QUOTE=arbopa;426640]
@... Was using your BP library for my FPS tutorial. In 4.9 used the sound stuff, worked great, in 4.10 though ... victory sound volume change to set... then victory get sound volume to get it... if I 'volume change' to say .5 for a class, then 'get sound volume' for that class, it always returns -1.0 ...
[/QUOTE]
[QUOTE=arbopa;426662]
@ , I messed with the source and rebuilt... It works, but it is very strange... not sure what was going on... the FAudioDevice I kept and it always found that... if I keep the Props bit, what I set it to != what it returns right after setting it... but if I skip the props and just return SoundClassObject->Properties.Volume they do match exactly.
```
float UVictoryBPFunctionLibrary::VictoryGetSoundVolume(USoundClass* SoundClassObject)
{
if (!SoundClassObject)
{
return -1;
}
return SoundClassObject->Properties.Volume;
}
```
seems to return it properly...
[/QUOTE]
Thanks for sharing fix Arbopa!
Yes new version does match the code I already have for VictorySoundVolumeChange, it was an oversight on my part to not change GetVolume to use the same new format.
Now both functions are using the same format!
**Thanks again for pointing out!**
fix will be in the next release of my Victory BP Library plugin!
♥