The simplest way is just to slightly alter the default respawn script "nw_o0_respawn".
It kinda depends on how you want the respawn to work. Do you want them to respawn right where they are and they take the penalty or when they respawn do they port to a place and then take the penalty?
As is, the default script works like this:
If the player respawns and you have an object in your mod with tag "NW_DEATH_TEMPLE" they will respawn at that object and take the penalty. If you do not have an object with that tag the player just respawns where they are they get no penalty.
You can alter the script to take the penalty either way though.
Modifié par GhostOfGod, 29 juin 2011 - 05:30 .