i have offically made it so you die in my game. but when i die i just respawn in the corner. i wan to make it so i spawn into Heaven and have to climb thru snakeway and go to king kai and catch the people so i can become alive again. i need help. D:
|
Here is a quick little snippet that I think does what you want. You'd have to call Death_Check on all damaging procs/attacks/etc
mob/proc/Death_check() |
i have a deathcheck
mob and i know i can change the coordinates to fit right, but i want to then make it so you can like, fight. then in order to leave, you need to do the king kai stuff |
You are asking for us to program an entire part of your game for you. Instead you should research what you will need to do to make that happen.
It seems like you need... An NPC to talk to. A check to see if the player is really dead if they are, locate them to the real world Restore their HP and reset their IsDead variable. Look in the forums for demos on NPCs that should put you in the right direction. |
If people can attack each other in this dead world you probably will want a variable to keep track of if they have already died.
Look at the DM guide under variables to learn how to define them |
You have to specify Death Snakeway Loc.
Anyway, you should change that proc, it seems like you're going to send a person (who could have -100000 HP) to that place and leave him with negative hp, restore his health to his max health, and also ki I believe. Then change some vars, or you'll have tons of trolls killing people already dead. By the way, Dragon Ball Games are invisible on HUB. |
In response to Eternal_Memories
|
|
Eternal_Memories wrote:
By the way, Dragon Ball Games are invisible on HUB. Hub is not an acronym. |
turf/kkplanet other world.dm:22:error: switch: undefined proc other world.dm:23:error: if: undefined proc other world.dm:25:error: if: undefined proc other world.dm:26:error: if: undefined proc i am not understanding these errors |
As a guess, it moved them to a given location after doing all it's various checks and changes. If that's the case (we'll see when you post), then it may just be as easy as changing where it puts the player on the map.