Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   More help i need. (https://forums.graalonline.com/forums/showthread.php?t=39593)

VeX_RaT_Boy 10-23-2002 11:52 PM

More help i need.
 
thanks, but i need more help....

how to add strings in commands? like setlevel2 string,string,string; ?

CheeToS2 10-24-2002 01:42 AM

Re: More help i need.
 
Quote:

Originally posted by VeX_RaT_Boy
thanks, but i need more help....

how to add strings in commands? like setlevel2 string,string,string; ?

#s(string)
-_-
you need to read commands.rtf

VeX_RaT_Boy 10-24-2002 01:51 AM

setlevel2 #s(server.eventnow.level),#s(server.eventnow.x),#s (server.eventnow.y);



Error: Ventet format var, var[i], obj[i].attr, function(a), function(a,b)

Goboom 10-24-2002 02:12 AM

why not try setting the x and they y strings to this. var?

VeX_RaT_Boy 10-24-2002 02:20 AM

Quote:

Originally posted by Goboom
why not try setting the x and they y strings to this. var?
???

CheeToS2 10-24-2002 05:24 AM

Quote:

Originally posted by VeX_RaT_Boy
setlevel2 #s(server.eventnow.level),#s(server.eventnow.x),#s (server.eventnow.y);



Error: Ventet format var, var[i], obj[i].attr, function(a), function(a,b)

x & y are floats, not strings

VeX_RaT_Boy 10-25-2002 01:52 AM

Cant anyone help me with bthis problem??

Goboom 10-25-2002 02:11 AM

try doing...
setlevel2 #s(server.eventnow.level),strtofloat(#s(server.eve ntnow.x)),strtofloat(#s(server.eventnow.y));


All times are GMT +2. The time now is 01:56 AM.

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