- Joined
- Feb 28, 2009
- Messages
- 73
In my map, i have many of the same unit placed around the map. What i need to know how to do is:
-Select all the units, and give 1, 2, 3, or 4 items to each unit.
-Item 1 being a dead item saying, "This area has Zombies"
-Item 2 saying, "This area has Gold"
And so on for the 4 items.
The unit would be able to receive all of these items, 3 of them, 2, 1, or 0 of them.
Then i would make a trigger saying:
If (unit) has (item) then set variable_integer_zombies to (random number 1-10)
And use that trigger for all 4 items.
Any help would be awesome. Thanks!
-Select all the units, and give 1, 2, 3, or 4 items to each unit.
-Item 1 being a dead item saying, "This area has Zombies"
-Item 2 saying, "This area has Gold"
And so on for the 4 items.
The unit would be able to receive all of these items, 3 of them, 2, 1, or 0 of them.
Then i would make a trigger saying:
If (unit) has (item) then set variable_integer_zombies to (random number 1-10)
And use that trigger for all 4 items.
Any help would be awesome. Thanks!