• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Weapon - Show/Unshow if get/drop

Status
Not open for further replies.
Level 5
Joined
Jun 5, 2009
Messages
121
Hello Hive-Users,

How can i make that i unshow a Weapon like a Torch (not really a weapon^^) i can show/unshow it for 1 hero, but how can i do that for more heros?

i used

Specialeffect - Create a Specialeffekt attached to the [ hand left ] hero manipulatet item using custom path.

if i do that
if a hero lose a item
item = MY TORCH
destroy lst createt special effect

it works perfect for 1 hero, but if play more than it wont work right, can anyone help?
 
Level 8
Joined
Aug 21, 2009
Messages
333
you don't need to use triggers at all for this.

make a custom ability based on sphere (bloodmage unit ability)
change the art - effect to the torch and the attachment name to "hand, right"
give that ability to the torch item.

that should fix it. let me know if you have any problems with this.
 
Level 6
Joined
Oct 31, 2008
Messages
229
Abilitys that can help: Sphere (blood mage), Sphere (Avatar of vengeance), Immolation (0 dmg). Pick what suits you and get benefited alike. Now if you want trigger, you can make a Special effect array and for every unit that aquires the item u want, set to True or False if it loses it. Then every .15 seconds you can check and move the effect on the unit that has the item and disable it to the unit that hasnt.
 
Status
Not open for further replies.
Top