Graal Forums

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

fireball_dolphonia 10-21-2001 08:43 AM

Warper!
 
ok
why wont this work
if (playerchats)setlevel2 #c,#c,#c;

TDO2000 10-21-2001 08:48 AM

Quote:

if (playerchats)setlevel2 #c,#c,#c;
because if u would say something like
onlinestartlocal 30 30 it would be
setlevel2 onlinestartlocal 30 30,onlinestartlocal 30 30 ,onlinestartlocal 30 30;

do something like:
if(playerchats && startswith(warp,#c)){
tokenize #c;
setlevel2 #t(1),strtofloat(#t(2)),strtofloat(#t(3));
}

should work better =)
u have to say:
warp levelname x-pos y-pos

so:
warp onlinestartlocal.graal 30 30

royce 10-21-2001 10:05 AM

is there a way to warp a different player there from your player without a rc?& without the npc server??? I dont think so but i'm not completely positive....

Bravo_NPC-Admin2 10-21-2001 02:16 PM

u use server strings to request a warp to a player

like:

if(server.blah="warpplayer bob")
if(acount=bob)
warp2 blah.graal,blahx,blahy;
server.blah=nuttin
}
}


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

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