cannot find hero manupilating icon can u help me?First, go to sound editor, In abilities\spell\human\avatar and right click on the sound file and click on "Use As Sound" button, then go to triggers and do this:
Notice that Crown of Kings is just an example.
- Item Pickup
- Events:
- Unit - A Unit Acquires an item
- Conditions:
- (Item being manipulated) Equal to Crown of Kings +5 0000 <gen>
- (Hero Manipulating Item) is A Hero Equal to True
- Actions:
- Sound - Play Avatar <gen>
this is the simple trigger when you want the game to play the sound only when a unit picks up a specific item, but if it's gonna be numbers of these items in your map then you should do this:
make this type of item undroppable so people won't troll your map by dropping/picking up the item time and time again to play the avatar sound over times. and create variable of type "Unit group" to stop playing the sound time and time again by acquiring numbers of this type of item, and add the triggering unit into the unit group and add a If/Then/Else action which checks that if the triggering unit already has an item of this type (better to say the unit is in your unit group or not) if yes, play no sound (Do nothing), else, play the sound.