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

Selling Items Bug

Status
Not open for further replies.
Level 8
Joined
May 31, 2009
Messages
103
Hello!

Just a quick question, I've not seen any other threads on this.

I've got an item that is meant to be purely to sell for some gold, however although it works sometimes, other times it does sell to the shop and the +500 gold text spawns and the cash sound plays BUT I don't actually receive any gold.

Has anyone else had this? I might be missing something simple.
 
Level 7
Joined
Dec 17, 2017
Messages
134
I am assuming you are receiving this problem while creating a map. You can try this trigger.
  • Selling Item
    • Events
      • Unit - A unit sells an item
    • Conditions
      • (Selling unit) is a hero
      • (Selling unit) is equal to ( Insert the name of Your hero)
      • (Item being manipulated) is equal to (The name of the item)
    • Actions
      • Item - Remove Item from inventory of (Your Hero)
      • Game - Add 500 to (Your player) 's Current gold
Hope I helped!
 
Level 8
Joined
May 31, 2009
Messages
103
I am assuming you are receiving this problem while creating a map. You can try this trigger.
  • Selling Item
    • Events
      • Unit - A unit sells an item
    • Conditions
      • (Selling unit) is a hero
      • (Selling unit) is equal to ( Insert the name of Your hero)
      • (Item being manipulated) is equal to (The name of the item)
    • Actions
      • Item - Remove Item from inventory of (Your Hero)
      • Game - Add 500 to (Your player) 's Current gold
Hope I helped!

That sounds like a good fix, thank you! :)
 
Status
Not open for further replies.
Top