Author Topic: Item save/load on death  (Read 2591 times)

I saw the add on that saves and load items,so I was hoping I could get a script i've wanted for a whle:

When you die and respawn you have the same tools.

Basicly modify that item save event script for ssave on death and load on spawn.

Please make it!

I personally like it the way it is, because then you actually have a penalty for dying, so it encourages players to save often.

There are other penalties when you die.I want it this way.You can have it your way on your server.

I was only making a point, in case you would have liked it that way better. Don't take it as me saying "well this way is so much better this idea is stupid", because that's not what I'm saying. I think it's a good idea.

:)

Ok.

Ill try looking at this script and others but I cant script,so I only might be able to put something glitchy and probably not working to do it.

I saw the add on that saves and load items,so I was hoping I could get a script i've wanted for a whle:

When you die and respawn you have the same tools.

Basicly modify that item save event script for ssave on death and load on spawn.

Please make it!
use these following events on the spawn brick for item save:
Onplayertouch>saveitems
ONplayerdeath>itemload
or something like that


use these following events on the spawn brick for item save:
Onplayertouch>saveitems
ONplayerdeath>itemload
or something like that
If i had onPlayerDeathSpawnedAnywhere and onPlayerRespawnHere and maybe OnPlayerDeathSpawnedHere and onPlayerDeathSpawnedAnywhere then I could do that.Those would be good events.

But could anyone make a on death script that then saved,and a spawning script that loads?

I saw the add on that saves and load items,so I was hoping I could get a script i've wanted for a whle:

When you die and respawn you have the same tools.

Basicly modify that item save event script for ssave on death and load on spawn.

Please make it!
You just described what a minigame does.

You just described what a minigame does.

But what if you gain weapons a certain way, so not everyone has the same weapons? Then it doesn't work like that.

But what if you gain weapons a certain way, so not everyone has the same weapons? Then it doesn't work like that.

Correct. I have to go now.Be back tomorrow.

YOu can use variables. Make a brick right infront of of a spawn: onplayertouch > self > Ifvariable Gun = True
VariableTrue > Player > AddItem. And so on.

YOu can use variables. Make a brick right infront of of a spawn: onplayertouch > self > Ifvariable Gun = True
VariableTrue > Player > AddItem. And so on.

You dont get it.Re-read my posts.

http://forum.blockland.us/index.php?topic=69037.0

This add-ons script can be modified to make this.

I will try to do this and when I fail I will come back to see suggestions.

I failed.
« Last Edit: May 21, 2009, 08:52:59 PM by koolioolio »

YOu can use variables. Make a brick right infront of of a spawn: onplayertouch > self > Ifvariable Gun = True
VariableTrue > Player > AddItem. And so on.
That would add as much Guns (Or whatever) as you can fit in the Inventory.

On-topic: Usefull, but it could be done with some Pwnage Events and alot or Relaying. Wont give out Instructions as there the main thing i can do :P