- Joined
- Jul 14, 2011
- Messages
- 3,213
Warning: I'm a JASS noob.
I'm having problems using 'soundpath', I was wondering how to take 'sound variable' instead of 'string', so I can use
call 'AddSoundToDialog(gg_snd_MYSound)' instead of call 'AddSoundToDialog("Sounds\\Units\\MySound.mp3")'
JASS:
function AddSoundToDialog takes string soundpath returns nothing
I'm having problems using 'soundpath', I was wondering how to take 'sound variable' instead of 'string', so I can use
call 'AddSoundToDialog(gg_snd_MYSound)' instead of call 'AddSoundToDialog("Sounds\\Units\\MySound.mp3")'