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.
Back
Top