Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
ok so i want a triger for this situation
unit picks up a item then play this sound what will be trigger one more time let me explain unit picks up this item play avtar sound
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:
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>
Notice that Crown of Kings is just an example.
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.
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:
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>
Notice that Crown of Kings is just an example.
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.
so i have a question
the item that you are talking about can be bought from shops or is it a boss item and a specific item that is only one of it can be found in the map ?
sorry for my mistake and forget my question lol
the action Play sound is incorrect and you need to use this one :
Sound - Play Avatar <gen> at 100.00% volume, attached to (Triggering unit)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.