• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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