WolfieeifloW
WEHZ Helper
- Reaction score
- 372
I changed the "scope" in my trigger to a "library" and now I get the error:
"Undeclared variable gg_snd_Feedback".
Here's the code I have (shortened to show the main parts);
I have the sound imported in the Sound Editor.
I tried changing my library back to a scope and the sound didn't give an error.
So how do I make it not error in a library?
Thanks in advance TH.net!
EDIT: Even in a scope, the sound doesn't play, why ?
"Undeclared variable gg_snd_Feedback".
Here's the code I have (shortened to show the main parts);
JASS:
library ArmorCrush initializer Init
globals
private constant sound crushSound = gg_snd_Feedback
// Sound played by Armor Crush (NOTE: You must import the sound via Sound Editor)
endglobals
endlibrary
I have the sound imported in the Sound Editor.
I tried changing my library back to a scope and the sound didn't give an error.
So how do I make it not error in a library?
Thanks in advance TH.net!
EDIT: Even in a scope, the sound doesn't play, why ?