• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

tigger-gold per sek

Status
Not open for further replies.
hm... so

I butil a tower and i get 100 gold per second
the tower is destroyed and i stop getting gold

easy, you are using 3 triggers
For Refrence # is Number
$ is a string(text)

  • Gold Tower Give
    • Events
      • Time - Every #NumberForTime# seconds of game time
    • Conditions
    • Actions
      • Player - Add #Some Gold# to $Some Player$ Current gold
Make Gold Tower Give off by uncheing the initially on check box
Then add
  • Turn On Gold
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to $some unit$
    • Actions
      • Trigger - Turn on Gold Tower Give <gen>
this and
  • Turn On Gold
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to $some unit$
    • Actions
      • Trigger - Turn on Gold Tower Give <gen>
this
(i want rep)

and dude get firefox
 
hm... so

I butil a tower and i get 100 gold per second
the tower is destroyed and i stop getting gold

easy, you are using 3 triggers
For Refrence # is Number
$ is a string(text)

  • Gold Tower Give
    • Events
      • Time - Every #NumberForTime# seconds of game time
    • Conditions
    • Actions
      • Player - Add #Some Gold# to $Some Player$ Current gold
Make Gold Tower Give off by uncheing the initially on check box
Then add
  • Turn On Gold
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to $some unit$
    • Actions
      • Trigger - Turn on Gold Tower Give <gen>
this and
  • Turn On Gold
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to $some unit$
    • Actions
      • Trigger - Turn on Gold Tower Give <gen>
this
(i want rep)

and dude get firefox

One of those should be:
  • Turn Off Gold
    • Events
      • Unit - A unit dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to $some unit$
    • Actions
      • Trigger - Turn off Gold Tower Give <gen>
and yes would work for all.
 
Status
Not open for further replies.
Back
Top