• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Selling Items Bug

Status
Not open for further replies.
Level 8
Joined
May 31, 2009
Messages
101
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
101
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