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 03-24-2002, 05:51 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
this. & message

Hi, I suck at scripting, so i would be happy to get some help... I have this NPC with a this. variable... which is it's damage... How to I make the NPC "message" what the value of the this. variable is?... Is there some sort of special message code thing? If someone could help i would greatly appre... appra... i would be happy
Reply With Quote
  #2  
Old 03-24-2002, 06:38 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: Re: this. & message

Quote:
Originally posted by Kaimetsu


#v(<insertnumberhere>) converts a normal number variable into a string.
Ok, i think i figured out how to use it... But it won't change... and i put it in a timeout... but, there is one spot, when the this. var value changes to "10" i made the NPC have a warning type thing... and it show's 10 when it gets to that...

(edit again): Stupid me... i forgot the timeout=0.05; command after the timeout flag commands ish... *smacks head* Thanks alot.
Reply With Quote
  #3  
Old 03-25-2002, 02:03 AM
happyme happyme is offline
Registered User
Join Date: Mar 2002
Location: Toronto, Ontario, Canada
Posts: 142
happyme is on a distinguished road
Send a message via AIM to happyme
can I see 'this' script?
__________________
Reply With Quote
  #4  
Old 03-26-2002, 03:14 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by happyme
can I see 'this' script?
... Why do you wanna see it?...
Reply With Quote
  #5  
Old 03-26-2002, 08:37 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally posted by haunter

... Why do you wanna see it?...
because its too complex for him to script and he wants yours to pass off as his own


:P



j/k
__________________
[signature]insert here[/signature]
Reply With Quote
  #6  
Old 03-27-2002, 03:19 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by screen_name


because its too complex for him to script and he wants yours to pass off as his own


:P



j/k
lol
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #7  
Old 03-27-2002, 04:03 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: this. & message

Quote:
Originally posted by haunter
Hi, I suck at scripting, so i would be happy to get some help... I have this NPC with a this. variable... which is it's damage... How to I make the NPC "message" what the value of the this. variable is?... Is there some sort of special message code thing? If someone could help i would greatly appre... appra... i would be happy
message #v(variablename)

changes the variable to message code and displays it ...
Reply With Quote
  #8  
Old 03-27-2002, 06:00 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Re: Re: this. & message

Quote:
Originally posted by nyghtGT


message #v(variablename)

changes the variable to message code and displays it ...
If you woulda read the whole thread, you woulda seen i figured it out
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 05:47 AM.


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