Hi!
I need help with triggers. I want to make a trigger which will play random sounds when player red types -Shuffle. Well... I tried and can't do that.
I found trigger set variable random number between[...] but it won't work while I test maps. It looks like this:
Event: Player red types -Shuffle
Condition: none
Actions: Set variable RANDOM to random number between 1-5
Then Im making another 5 triggers. Everyone is responsible for each sound.
Simple:
Event: variable RANDOM becomes 3
Actions: Play Music Theme 123
And it won't work ;/ I tried testing it during Map Test from editor and by manually launching map directly from warcraft 3. What am I doing wrong?
I need help with triggers. I want to make a trigger which will play random sounds when player red types -Shuffle. Well... I tried and can't do that.
I found trigger set variable random number between[...] but it won't work while I test maps. It looks like this:
Event: Player red types -Shuffle
Condition: none
Actions: Set variable RANDOM to random number between 1-5
Then Im making another 5 triggers. Everyone is responsible for each sound.
Simple:
Event: variable RANDOM becomes 3
Actions: Play Music Theme 123
And it won't work ;/ I tried testing it during Map Test from editor and by manually launching map directly from warcraft 3. What am I doing wrong?