Graal Forums

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

underwood 03-19-2006 12:34 AM

asking experts.
 
if (playerchats) {
if (strequals(#c,leave)) {
setlevel2 levelname,x,y;
}
}


That is the code to warp outta spar when you say Leave but how do you make it so one person has to be dead before the code will work? I've tried a bunch of things but this i just cant figure out...

excaliber7388 03-19-2006 12:41 AM

You could use the playercount, and the number of players with the specified string (the sparring one), then warp only them out ;)
but if you're learning gscript, i suggest gs2, gs1 is fading out.

underwood 03-19-2006 12:44 AM

so i would like... lol wow this stuff confuses me.


All times are GMT +2. The time now is 11:29 AM.

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