- Joined
- May 20, 2008
- Messages
- 433
I'm currently working on a survival map that uses an award system. When you get an award, your unit gains an item. Problem is that I have no idea on how to make it so that your unit gains an item, and nothing else.
Currently, the trigger looks like this:
Pick every unit owned by red of type A, B or C (in response to the trigger).
Give an item to that unit.
If a new trigger is needed, so be it. If this trigger needs to be replaced, so be it. Help will be rewarded.
Currently, the trigger looks like this:
-
HKA R
-
Events
- Time - Every 0.50 seconds of game time
-
Conditions
- Kills_Red Greater than or equal to 300
-
Actions
- Trigger - Turn off (This trigger)
- Game - Display to Player Group - Player 1 (Red) the text: |cffFE890DAchieveme...
- Hero - Create Marine Armour V and give it to (Random unit from (Units owned by Player 1 (Red) of type Field Intel Marine))
- Hero - Create Marine Armour V and give it to (Random unit from (Units owned by Player 1 (Red) of type Special Ops Marine))
- Hero - Create Marine Armour V and give it to (Random unit from (Units owned by Player 1 (Red) of type Tactical Marine))
-
Events
Pick every unit owned by red of type A, B or C (in response to the trigger).
Give an item to that unit.
If a new trigger is needed, so be it. If this trigger needs to be replaced, so be it. Help will be rewarded.