Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-23-2002, 11:52 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Question More help i need.

thanks, but i need more help....

how to add strings in commands? like setlevel2 string,string,string; ?
__________________
-Kjetil Valen
Reply With Quote
  #2  
Old 10-24-2002, 01:42 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
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
__________________

Reply With Quote
  #3  
Old 10-24-2002, 01:51 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to 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)
__________________
-Kjetil Valen
Reply With Quote
  #4  
Old 10-24-2002, 02:12 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
why not try setting the x and they y strings to this. var?
__________________
Reply With Quote
  #5  
Old 10-24-2002, 02:20 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by Goboom
why not try setting the x and they y strings to this. var?
???
__________________
-Kjetil Valen
Reply With Quote
  #6  
Old 10-24-2002, 05:24 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
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
__________________

Reply With Quote
  #7  
Old 10-25-2002, 01:52 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Cant anyone help me with bthis problem??
__________________
-Kjetil Valen
Reply With Quote
  #8  
Old 10-25-2002, 02:11 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
try doing...
setlevel2 #s(server.eventnow.level),strtofloat(#s(server.eve ntnow.x)),strtofloat(#s(server.eventnow.y));
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:42 AM.


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