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

How to make trading

Status
Not open for further replies.
Level 6
Joined
Apr 20, 2007
Messages
232
I made an item "Trade 50 wood into 50 gold" (long name , i will change it :)) , It costs 50 wood. I made a triger that should give you 50 gold every time you "Sell Wood". The trigger looks like this.
  • Trade
    • Events
      • Unit - A unit owned by Player 11 (Dark Green) Acquires an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Trade 50 wood into 50 gold.
    • Actions
      • Player - Add 50 to Player 11 (Dark Green) Current gold
P.S. I want that only dark green could trade.
P.S.S. I'm using RoC.
 
Status
Not open for further replies.
Top