I wanna do a trigger like that : all the time when one specific unit owned by neutral hostile dies and a player got another spécific unit, then the player gets 3 gold otherwhise give 1 gold to the owner of this specific unit.
I did like this way, but i'm in struggle...a little help would be appreciate
I did like this way, but i'm in struggle...a little help would be appreciate
-
Small gold supplier income
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Unit-type of (Dying unit)) Equal to Gold supplier - small (1/3 gold)
-
-
Actions
-
For each (Integer A) from 1 to 10, do (Actions)
-
Boucle - Actions
-
Set UnitSlay = (Matching unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Number of units in (Units in (Playable map area) owned by (Owner of (Matching unit)))) Greater than 0
-
-
Then - Actions
-
Player - Set (Owner of (Matching unit)) Current gold to 3
-
-
Else - Actions
-
-
-
-
-
Last edited: