• 🏆 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!

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