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

[General] How to buy items from shop from any range?

Status
Not open for further replies.
Level 5
Joined
Sep 1, 2010
Messages
168
Check your shop's aquisition range.
In Addition, take a look at your gameplay constants.
In addition: Try whether you can buy items from any range all the time or you first need to be in a certain range from which on you can buy from any range.
 
Level 14
Joined
Aug 8, 2010
Messages
1,022
Your unit can click on the shop from range, right? So make the items -> spells and in the Tooltip, you will paste the item information. Then use something along the lines of this :
  • Shop range
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to YourItemDummyMagic
    • Actions
      • Hero - Create YourItem and give it to (Triggering unit)
(i didn't find the action that gives an item to unit... LOL! :D But your unit should have the item because you give it to the triggering unit, which is your unit, not a hero...)
 
Status
Not open for further replies.
Top