Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Plz help me out here (https://forums.graalonline.com/forums/showthread.php?t=15722)

royce 10-29-2001 10:10 AM

Plz help me out here
 
how would i script if a player with a King in his name dies, everybody in that level gets warped?

royce 10-29-2001 12:37 PM

not smart enough
 
so no one can help me?:mad: :( :(

Shard_IceFire 10-29-2001 08:38 PM

lol....no.

dragoonvenganc 10-29-2001 10:04 PM

no.. but ya

Python523 10-30-2001 05:15 AM

Re: Plz help me out here
 
Quote:

Originally posted by royce
how would i script if a player with a King in his name dies, everybody in that level gets warped?
Use strcontains and else
I'll give you an example from a guild thing
if (playertouchsme&&strequals(#g,Guild Here)) {setlevel2 level,x,y;}
else
{playerhearts-=20;}

royce 10-30-2001 06:54 AM

ok.......all i am doing is creating a battle grounds for my server...I want all the players be warped out once the king is dead on either sides.i could use a flag set when he dies so all the other players are in alot of diffferent levels because this is a non=p2p playerworld.

maximus_asinus 10-30-2001 10:49 AM

Or you could make a setstring thingy.
like:
if (playerenters) {
setstring server.kingdeathwarp,0;
}
if (strequals(#s(server.kingdeathwarp),1) {
setlevel2 blah.graal,x,y;
}
this SHOULD work.


All times are GMT +2. The time now is 04:16 PM.

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