Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Dying (https://forums.graalonline.com/forums/showthread.php?t=19491)

Kumada 12-23-2001 10:05 PM

Dying
 
if a player dies they get sent to a level
End

Mrmicro 12-23-2001 10:25 PM

ok....
 
Um yea... Is that a question?

jeff335 12-23-2001 10:54 PM

if(playerdies){
setlevel hell.nw;
}

royce 12-23-2001 11:36 PM

if(playerdies){
setlevel 25464.nw;
}

what it will do is search for the level to send the player when he dies so if there isnt a level named that then the players is warped back where he/she died.

mikepg 12-24-2001 01:12 AM

i tired that
 
i tried that, but offline, it doesnt work right for me. Because, as soon as the playerdies, it warps them, and they are still dead, but when the player push a button to be "reborn" so to speak, it warps them to the last sparring room or place where you loaded the level editor. Atleast thats what it did a couple versions ago, i just figured id share with you all.


All times are GMT +2. The time now is 03:17 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.