Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   this. & message (https://forums.graalonline.com/forums/showthread.php?t=26189)

haunter 03-24-2002 05:51 AM

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 :D

haunter 03-24-2002 06:38 AM

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.

happyme 03-25-2002 02:03 AM

can I see 'this' script?

haunter 03-26-2002 03:14 AM

Quote:

Originally posted by happyme
can I see 'this' script?
... Why do you wanna see it?...

screen_name 03-26-2002 08:37 AM

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

Saga2001 03-27-2002 03:19 AM

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

nyghtGT 03-27-2002 04:03 AM

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 :D
message #v(variablename)

changes the variable to message code and displays it ...

haunter 03-27-2002 06:00 AM

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 :D


All times are GMT +2. The time now is 05:42 PM.

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