| 11-22-2002, 12:36 PM | #1 |
Guest | All these questions :ggani: Well, i want to attach hornofcenarius sound to a item i've made, so when it's used, it'll play the sound. I've tried a little different but for no use. I've made such thing before, but in that map, it was a specific hero who carried the horn, here, it has to be any hero, who uses this horn. |
| 11-22-2002, 02:34 PM | #2 |
Unit event, Hero uses item, If Item being manipulated is of type (whatever) Play sound (whatever) |
| 11-22-2002, 03:08 PM | #3 |
Guest | Doesn't work, and you gotta attach the sound to the unit before you play it. I don't understand why item being manipulatet doesn't work =( |
| 11-22-2002, 08:26 PM | #4 |
worked fine when i tested it before i posted it, its the same principle when you use a item to open a door, or cast a spell, or any customitem, instead you are just playing a sound, its not "attached" or anything, and its not 3d, when the item is used, it plays a sound. |
| 11-22-2002, 09:59 PM | #5 |
Guest | You can do this so long as the sound isnt 3d... Uncheck the 3d box in the sound properties... Only 3d sounds need to be attached to an object before playing.. If you want it to be a 3d sound why not do: Unit Event: Hero uses item if: item is of type [blah] attach sound to: [triggering unit] and: play sound [blah] Should work... |
| 11-23-2002, 02:02 PM | #6 |
Guest | Cool, thanks guys! =) |
