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

[Solved] Gold income units.

Status
Not open for further replies.
Level 9
Joined
Feb 11, 2016
Messages
250
I make this:


"Money

Events
Time - Every 10.00 seconds of game time

Conditions

Actions
Player - Add ((Number of living Sludge Minion units owned by Player 1 (Red))) to Player 1 (Red) Current gold"





But I want make this:


"Money

Events
Time - Every 10.00 seconds of game time

Conditions

Actions
Player - Add ((Number of living Sludge Minion units owned by Player 1 (Red)) X 3 ) to Player 1 (Red) Current gold"



How I can add multiplication? Thank you!
 
Level 4
Joined
Jul 26, 2016
Messages
88
  • SomeTrigg
    • Evénements
      • Temps - Every 10.00 seconds of game time
    • Conditions
    • Actions
      • Set unitGroupSludge = (Units owned by (Picked player) of type Paladin)
      • Joueur - Add ((Number of units in unitGroupSludge) x 3) to (Picked player) Or actuel
      • Custom script: call DestroyGroup(udg_unitGroupSludge)
Something basic that would work as you suggested?
 
Status
Not open for further replies.
Top