Author Topic: Drop Current Weapon on Death  (Read 894 times)

This does not mean it drops your entire inventory when you die, like the current mod by Zack0Wack0 on RTB - just the weapon that you were holding at the time of your death. The item would also have to stay on the ground until the (Slayer) Minigame was reset won, or ended.

EDIT: Due to items slowly disappearing, rather than having it disappear when the minigame is reset, is if it disappeared when the minigame was won by either team...this way, if someone was to die in the spawnroom and drop their items, they would be gone for sure the next round...rather than players spawning and possibly picking up left-over weapons from the previous round.

I will do this but instead of strictly having it coded to stay until minigame resets, I'll have some RTB prefs for it.

Also do you want the player to keep the rest of their items?

I will do this but instead of strictly having it coded to stay until minigame resets, I'll have some RTB prefs for it.

Also do you want the player to keep the rest of their items?
Yes. It should only drop the item that they were using at the time of their death. Unless you want to make a pref for it to be the entire inventory.

Well, what I meant is that by default, the player loses all their tools when they respawn.
Do you want to keep it like that but have them drop the weapon they were holding?

Either way it would probably be compatible with my other add-on "Keep tools on death", so then using both will have the player who died keep all the weapons but the one they dropped when they died.

Well, what I meant is that by default, the player loses all their tools when they respawn.
Do you want to keep it like that but have them drop the weapon they were holding?

Either way it would probably be compatible with my other add-on "Keep tools on death", so then using both will have the player who died keep all the weapons but the one they dropped when they died.
There's only 1 life in my minigame, so it doesn't matter to me. I like the first option.

This is an old add-on. I can't remember who made it, but I still have it. Let me find it...



Here it is: Script_DropItemOnDeath.zip
Original author: Iban
« Last Edit: August 09, 2012, 12:36:05 AM by Greek2me »

Ahh, yes! Derroith or someone was telling me that iban has this feature in CityRP v3! Does it stay on the ground until the minigame resets?

no, it just drops it
it might be more interesting to have a seperate addon for keeping items dropped on the grounnd until the minigame resets

Ahh, yes! Derroith or someone was telling me that iban has this feature in CityRP v3! Does it stay on the ground until the minigame resets?
Well shoot, I only have the client side mod for CityRPG 3.

I remember that feature.