trying to make a Trigger so that every time a player kills a enemy unit it adds +1 to Variable, than at 100 kills +1 Vespene Gas. I can Do must of this trigger, just trying to figure out the Even part of it any leads suggestions?
[code]Event:
- Any unit dies
Condition:
- Owner of dying unit is an enemy of Owner of killing unit
Action:
- Set yourVariable=(yourVariable+1)
General - If (Conditions) then do (Actions) else do (Actions)
If
(yourVariable mod 100) == 0
Then
Player - Modify player 1 Vespene: Add 1
Else[/code]
The event and condition are pseudocode, the action is copied from GE, so it's 100% accurate.
PS: Damn code-tags don't wanna work.
trying to make a Trigger so that every time a player kills a enemy unit it adds +1 to Variable, than at 100 kills +1 Vespene Gas. I can Do must of this trigger, just trying to figure out the Even part of it any leads suggestions?
Can't find 'dying unit'
Condition:
- Owner of dying unit is an enemy of Owner of killing unit
only function that starts even with a 'D' is Damaging unit. Selecting Value 1 - owner of unit
bump
Triggering Unit will do as Dying Unit