- Joined
- Jun 12, 2007
- Messages
- 1,261
I made a trigger for a rematch system in a mini game I made as it's pretty short.
The first time the trigger runs the sounds play fine.
Now, the second time it wont run the sounds!
Is this because I destroyed the sounds?
The first time the trigger runs the sounds play fine.
Now, the second time it wont run the sounds!
Is this because I destroyed the sounds?
-
Start
- Events
- Conditions
-
Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Camera - Set the camera bounds for (Player((Integer A))) to Z Play <gen>
-
Loop - Actions
- Trigger - Turn off (This trigger)
- Sound - Play ArrangedTeamInvitation <gen>
- Set Sound[1] = (Last played sound)
- Game - Display to (All players) the text: (PlayerColor[13] + Prepare yourselves!)
- Wait 3.00 seconds
- Sound - Play BattleNetTick <gen>
- Set Sound[2] = (Last played sound)
- Game - Display to (All players) the text: (PlayerColor[13] + Ready....)
- Wait 3.00 seconds
- Sound - Play BattleNetTick <gen>
- Set Sound[3] = (Last played sound)
- Game - Display to (All players) the text: (PlayerColor[13] + Set....)
- Wait 3.00 seconds
- Sound - Play ClanInvitation <gen>
- Set Sound[4] = (Last played sound)
- Game - Display to (All players) the text: (PlayerColor[13] + GO!)
- Trigger - Run Multiboard <gen> (ignoring conditions)
- Trigger - Turn on Tips <gen>
- Trigger - Turn on Tips Off <gen>
- Trigger - Turn on Tips On <gen>
- Trigger - Turn on Item Crystal Spawn <gen>
-
For each (Integer A) from 1 to PlayersAlive, do (Actions)
-
Loop - Actions
- Set ItemPoint = (Random point in The Pit <gen>)
- Special Effect - Create a special effect at ItemPoint using AImaTarget.mdx
- Special Effect - Destroy (Last created special effect)
- Item - Create SpawnItem[(Random integer number between 1 and 23)] at ItemPoint
- Custom script: call RemoveLocation(udg_ItemPoint)
-
Loop - Actions
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
- Sound - Destroy Sound[(Integer A)]
-
Loop - Actions
- Wait 2.00 seconds
- Trigger - Turn on Golem Left Is 1 <gen>
- Trigger - Turn on Create <gen>
- Trigger - Turn on Increase <gen>
-
For each (Integer A) from 1 to 8, do (Actions)