• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Selling system

Status
Not open for further replies.
Level 7
Joined
Jun 23, 2009
Messages
297
Its not a system, but i dont know how to call it :con:
Anyway, here's how I sell the buildings:

  • Sell
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • (Unit-type of (Trained unit)) Equal to |c00FF0000S|rell
    • Actions
      • Unit - Remove (Trained unit) from the game
      • Unit - Remove (Triggering unit) from the game
      • Player - Add (Point-value of (Unit-type of (Triggering unit))) to (Owner of (Triggering unit)) Current gold
But for some reason, a farm that costs 5 gold is selled for 100 gold :bored:
What am i failing in?
 
Status
Not open for further replies.
Back
Top