HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

making a drop system

05-02-2005, 06:04 PM#1
Linera
I am working on a drop system. Anyway I can make it a courpse based looting system where you must loot the courpse to get your gold and items?
If so how do I go about making this?

If there is no way to go about doing this can you suggest other systems to do with looting? I would mainly like to prevent item stealing in my game. For example I kill a mob and it drops an item there is nothing to stop another player from running up and taking my item I just found. I want to make it so that the player who killed the mob can take the item. if the player is in a group then anyone in the group can take the item.

And just so you know, I don't know Jass. I find Jass to be too hard.

Thanks to anyone who helps me in this matter
05-02-2005, 09:13 PM#2
Raptor--
when unit dies, create the items and assign their custom value to the player number of the killing unit

when unit tries to pick up item, if the item isn't their custom value then drop it, else clear the custom value (hence once its picked up, if its dropped again anyone can pick it up)

thats probably the least complex way of doing it
05-03-2005, 04:29 AM#3
SektorGaza
When unit dies, create same unit only with death animation on that spot with some time limit.
Give this unit to player who killed it, solving sharable loot issue. Obviously make an inventory of the "dead" unit, but dont make it hero. Put some items that you want unit to drop...
This "dead" unit won't be dead, but make it so it couldn't move.
about group looting... well this wouldnt be solved with just giving to player, so you would need more triggers for that.
05-03-2005, 04:54 AM#4
Linera
hmmmmmm