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

Help with Gold Trigger

Status
Not open for further replies.
Hey im trying to figure how to do a trigger so that it takes 10000 away here is what i got so far.

I dont know how to add take away 10000 gold.

  • Knight
    • Events
      • Unit - A unit enters Knight <gen>
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Triggering unit)) Equal to Basic Fuser
          • ((Owner of (Triggering unit)) Current gold) Equal to 10000
        • Then - Actions
          • Unit - Remove (Triggering unit) from the game
          • Unit - Create 1 Footman for (Owner of (Triggering unit)) at (Center of Knight Price Spawn <gen>) facing Default building facing degrees
        • Else - Actions
          • Do nothing
 
Status
Not open for further replies.
Top