Warcraft III resources & community, 2003–2006 · archived

help with giving units items

8 posts
#1

help with giving units items

alright, i am creating units in the middle of a game, and i want them to be able to drop specific items. basically my trigger looks like this...

creat 1 footman for neutral hostile in region 670 facing default building degrees.

how can i get the footman in question to drop certain items on its death.
#2
U just select the unit, click enter and then go to 'items dropped'
#3
but im creating these units through a trigger, so they aren't placed on the map to begin with and have items.
#4
There is a trigger what gives to unit item
#5
Events:
Unit dies
Conditions:
Unit = for example footy
Actions:
If: Random number between 1 and 100 = 10 or less
Then: Create item at position of dying unit
Else: Do Nothing
#6
hey thanks, that will work, i appreciate the help.
#7
Ofcourse it works 8) But it is alot of work if u have alot of trigger-created units and want them all to drop different items
#8
Ofcourse it works 8) But it is alot of work if u have alot of trigger-created units and want them all to drop different items