Thread: Item help
View Single Post
Old 10-10-2006, 10:48 PM   #4
Chuckle_Brother
Oh for the sake of fudge
 
Chuckle_Brother's Avatar


Respected User
 
Join Date: Dec 2005
Posts: 782

Submissions (2)

Chuckle_Brother will become famous soon enough (53)Chuckle_Brother will become famous soon enough (53)

Send a message via ICQ to Chuckle_Brother Send a message via AIM to Chuckle_Brother Send a message via MSN to Chuckle_Brother Send a message via Yahoo to Chuckle_Brother
Default

Well the first is okay, aside from that you don't want it to move him to map center.

As for second, you are dropping the item from a null unit(call UnitRemoveItemFromSlotSwapped( GetRandomInt(1, 6), null ))

Collapse JASS:
function UnitRemoveItemFromSlotSwapped takes integer itemSlot, unit whichHero returns item
__________________
"...you play a mean banjo"
Chuckle_Brother is offline   Reply With Quote