Fragglez
New Member
- Reaction score
- 4
Heya,
okay, i have a problem with a trigger activating during game play.
the subject?
I want a sound to play when a player (8 players total in the game) reaches 165-170 (in between them somewhere) on the leader board score.
How does the game work?
You cast a spell on an enemy that grants +5 to your score.
An enemy can cast a spell on you which reduces your score by -1.
You die = you lose.
(the rest isn't important)
What do i want?
I want to make the sound play for only one time throughout the entire game for the first player that reaches the score position of 165,166,167,168,169, or 170 (whatever one they reach within there, because there's -1 and +5's in the game)
So.. heres the problem (or one of them, i think)
I have custom imported sound playing throughout the entire game. Will this sound over-ride the one playing throughout the entire game? (if i ever get it to work)
I need to find a working trigger to do this, I've tried this:
but this doesn't work, for some reason.
Any suggestions or ideas on how to do this?
Thanks
~Fragglez
okay, i have a problem with a trigger activating during game play.
the subject?
I want a sound to play when a player (8 players total in the game) reaches 165-170 (in between them somewhere) on the leader board score.
How does the game work?
You cast a spell on an enemy that grants +5 to your score.
An enemy can cast a spell on you which reduces your score by -1.
You die = you lose.
(the rest isn't important)
What do i want?
I want to make the sound play for only one time throughout the entire game for the first player that reaches the score position of 165,166,167,168,169, or 170 (whatever one they reach within there, because there's -1 and +5's in the game)
So.. heres the problem (or one of them, i think)
I have custom imported sound playing throughout the entire game. Will this sound over-ride the one playing throughout the entire game? (if i ever get it to work)
I need to find a working trigger to do this, I've tried this:
Code:
Godlike sound
Events
Conditions
Actions
For each (Integer A) from 1 to 8, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Score[(Integer A)] Greater than or equal to 165
Then - Actions
Game - Display to (All players) the text: ((Name of (Player((Integer A)))) + is |cffff0000GODLIKE|r!!!!!)
Sound - Play GodLike <gen>
Trigger - Turn off (This trigger)
Else - Actions
Do nothing
but this doesn't work, for some reason.
Any suggestions or ideas on how to do this?
Thanks
~Fragglez