ID:271500
Jul 20 2007, 6:30 pm
|
|
How do I make it so when a person dies, they are converted to a spawning point instead of being disconnected?
|
Jul 20 2007, 6:34 pm
|
|
Read a tutorial. If you can make a Death proc, you should be able to change their location.
|
mob/proc/DeathCheck(mob/killer)//to define a killer, just do something such as src.DeathCheck(killer). src representing the person dying and killer representing whoever killed that person. |
In response to DadGun
|
|
DadGun wrote:
> mob Thats not really effective. What if the player had more then 10 HP? Why not just make their HP equal 0? |
In response to RedlineM203
|
|
o.O The HP is not what matters in this topic. ;)
|
In response to DadGun
|
|
DadGun wrote:
o.O The HP is not what matters in this topic. ;) It may or may not but giving them code that works only if they have 10 hp is not smart. |