- Joined
- Dec 12, 2008
- Messages
- 7,385
Actually, I realized that my run function returns the sound played O-o
You can do this:
Those values in the struct aren't constants, just default values
edit
I have an idea, I can write a function called runEx() and give you the ability to pass in custom sound data so you don't have to waste performance with the sound function calls
You can do this:
JASS:
local sound s = MySoundObject.run()
call SetSoundPitch(s, 0.8)
call SetSoundVolume(s, 0.2)
Those values in the struct aren't constants, just default values
edit
I have an idea, I can write a function called runEx() and give you the ability to pass in custom sound data so you don't have to waste performance with the sound function calls