Simple question.

Icey_Gregorio

Member!
Joined
Aug 16, 2004
Messages
129
Reaction score
0
Location
My home
Website
Visit site
After u create a unit later in the game is there a way to equip a item to them? I need it to drop it upon death.
 

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
I'm pretty sure you'd use the same trigger as you would to give a unit a town portal. Try basing it off that trigger.
 

Icey_Gregorio

Member!
Joined
Aug 16, 2004
Messages
129
Reaction score
0
Location
My home
Website
Visit site
HellThrone said:
I'm pretty sure you'd use the same trigger as you would to give a unit a town portal. Try basing it off that trigger.
And what would that be lol?
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Event
Map initialization

as for the action i dont know the exact scripting but look in the Unit section and try finding it. Either that or you can create the item in front of the hero at startup.
 

Icey_Gregorio

Member!
Joined
Aug 16, 2004
Messages
129
Reaction score
0
Location
My home
Website
Visit site
Hellwolf_36 said:
Event
Map initialization

as for the action i dont know the exact scripting but look in the Unit section and try finding it. Either that or you can create the item in front of the hero at startup.
opps I should of metioned I need them to drop it upon death.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Event
A specific unit owned by Player1 dies

Action
Unit - Remove items from inventory

The items will appear at the feet of the dead hero.
 

tassadar920

Member!
Joined
May 18, 2003
Messages
2,048
Reaction score
0
Location
My house
You can also set the item to drop on death automatically... there's a variable in there for that.

To give them an item, there is a trigger.
 

NewPosts

New threads

Top