[JASS] Small question about function

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
Warning: I'm a JASS noob.
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")'
 
Status
Not open for further replies.
Top