- Joined
- Dec 21, 2012
- Messages
- 89
Hi I am using this trigger to play special music when the Hero enter the city. When he leave the city, music is back to normal. During playing music theme, normal music is remember by editor. Does this can do memory leak. If is leaking, does anyone knows better trigger for music
HumanVillage music
Events
Unit - A unit enters Humam Village music <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Sound - Stop the currently playing music theme
Sound - Play Sound\Music\mp3Music\PH1.mp3
ExitHumanMusic
Events
Unit - A unit leaves Humam Village music <gen>
Conditions
((Leaving unit) is A Hero) Equal to True
Actions
Sound - Stop the currently playing music theme
HumanVillage music
Events
Unit - A unit enters Humam Village music <gen>
Conditions
((Entering unit) is A Hero) Equal to True
Actions
Sound - Stop the currently playing music theme
Sound - Play Sound\Music\mp3Music\PH1.mp3
ExitHumanMusic
Events
Unit - A unit leaves Humam Village music <gen>
Conditions
((Leaving unit) is A Hero) Equal to True
Actions
Sound - Stop the currently playing music theme