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

[Solved] Gold income units.

Status
Not open for further replies.
Level 8
Joined
Feb 11, 2016
Messages
259
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!
 
  • 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.
Back
Top