Can someone help me find out what keeps making me crash? I'm trying to make it so that buying an item will make one of my imported music play (Pirate's of the Caribbean theme). Here's the trigger
- Pirates Music
-
Events
- Unit - A unit Sells an item (from shop)
-
Conditions
- (Item-type of (Sold Item)) Equal to Pirate's of the Caribbean Theme
-
Actions
- Item - Remove (Sold Item)
- Sound - Stop music After fading
- Countdown Timer - Start (Expiring timer) as a One-shot timer that will expire in 156.00 seconds
- Wait 5.00 seconds
- Set MusicTimer = (Last started timer)
- Neutral Building - Remove Pirate's of the Caribbean Theme from all marketplaces
- Sound - Play Pirates_of_the_Caribbean___Jack_Sparrow <gen>
-
Events
- Time - MusicTimer expires
- Conditions
-
Actions
- Neutral Building - Add Pirate's of the Caribbean Theme to all marketplaces with 0 in stock and a max stock of 1
- Sound - Play PursuitTheme <gen>