• 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.

SHared controled allies hero Doesnt get item?

Status
Not open for further replies.
Level 4
Joined
Dec 30, 2008
Messages
41
AS many of you are probally aware...if you share control with an ally and vise vera...if you are both next to a shop ...you may end up buying the item for the other persons hero...when this happends with a pot..bad things happen =(


i would like a trigger in gui that will make shure the item goes to you..AND NO ITEM IS GIVEN TO UR TEAM mATE...(no double buys one item only)

thanks and please..++rep
 
Level 19
Joined
Feb 25, 2009
Messages
2,004
Thats because of the ability that the shop uses to recongize which unit is currently buying an item from it.

If you want you can make this ability with infinite range (99999) so all units on the entire map can use that shop.

Otherwise I think you can detect which unit is buying the item and then if this unit is not owned by the player that bought the item, move that item to hes hero/unit.
 
Level 4
Joined
Dec 30, 2008
Messages
41
no because the infinite range wont help..infact itll make things worst. I want it to be so when YOu buy and item you get it...yet the only thing i can see if that if a hero buys aa UNIT there is no event for a player or hero buys an item =\ any help?
 
Status
Not open for further replies.
Top