If your only using one unit make a unit variable, then when you create that unit right after in that trigger that made it have a Set Variable Action Last Created Unit = <Unit Variable>. If you want more than one unit then make a Unit Group Variable.
Then for you money Trigger you just need to use Any Unit Dies Event, Triggering unit is <Unit Variable> for one unit, or Triggering Unit in <Unit Group Variable> for many units Condition. Your Actions are Set or Add X Minerals, Gas, or both to Player A .
My Projects:
Sorted Multiplayer Leader Board
Card Shuffle Dialog Demo
Air Wars Mass
Blizzard Fan since Starcraft. The Single Player story is AMAZING IMO, I can't wait for the Expansions. In Warcraft 3 I only enjoy the Custom Maps scene (& Blizzards...
To post a comment, please login or register a new account.
@PsionicData: Go
If your only using one unit make a unit variable, then when you create that unit right after in that trigger that made it have a Set Variable Action Last Created Unit = <Unit Variable>. If you want more than one unit then make a Unit Group Variable.
Then for you money Trigger you just need to use Any Unit Dies Event, Triggering unit is <Unit Variable> for one unit, or Triggering Unit in <Unit Group Variable> for many units Condition. Your Actions are Set or Add X Minerals, Gas, or both to Player A .