Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PlaySound Constants Decompile to Value, Not Constant [Unreal 227h]
#1
Code:
PlaySound(Roam, SLOT_Talk, 0.02 * Mass,,, VoicePitch);

decompiles to:

Code:
PlaySound(Roam, 5, 0.02 * Mass,,, VoicePitch);

I think this is how it works:

Code:
1 = SLOT_Misc
2 = SLOT_Pain
3 = SLOT_Interact
4 = SLOT_Ambient
5 = SLOT_Talk
6 = SLOT_Interface

It won't recompile with the value, it needs the constant.

Edit:

I think 0 is SLOT_None
Reply


Messages In This Thread
PlaySound Constants Decompile to Value, Not Constant [Unreal 227h] - by titegtnodI - 04-07-2012, 03:42 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)