This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Here's how I did it for my map. The thing about this is you have to set the amounts in the data editor for each unit.
EVENT
Unit - Any Unit Dies
CONDITIONS (Owner of (Triggering unit)) == Computer
ACTIONS
General - If (Conditions) then do (Actions) else do (Actions)
If
(Killing player) == 1
Then
Variable - Set Vespene Points = (Vespene Points + (Vespene cost of (Unit type of (Triggering unit)))
Variable - Set Mineral Points = (Mineral Points + (Mineral cost of (Unit type of (Triggering unit)))
Player - Modify player (Killing player) Minerals: Add Mineral Points
Player - Modify player (Killing player) Vespene: Add Vespene Points
Else
Here's how I did it for my map. The thing about this is you have to set the amounts in the data editor for each unit.
EVENT
Unit - Any Unit Dies
CONDITIONS (Owner of (Triggering unit)) == Computer
ACTIONS
General - If (Conditions) then do (Actions) else do (Actions)
If
(Killing player) == 1
Then
Variable - Set Vespene Points = (Vespene Points + (Vespene cost of (Unit type of (Triggering unit)))
Variable - Set Mineral Points = (Mineral Points + (Mineral cost of (Unit type of (Triggering unit)))
Player - Modify player (Killing player) Minerals: Add Mineral Points
Player - Modify player (Killing player) Vespene: Add Vespene Points
Else