Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   insertstring, addstring, etc HELP!!! (https://forums.graalonline.com/forums/showthread.php?t=39485)

reeset1 10-21-2002 12:05 AM

insertstring, addstring, etc HELP!!!
 
I dont get how to use any of these. Also, alot of scripting commands wont work for me offline anymore, such as random(0,99) or something like that. I keep getting the same number each time and it never changes!!!

CheeToS2 10-21-2002 12:15 AM

Re: insertstring, addstring, etc HELP!!!
 
Quote:

Originally posted by reeset1
I dont get how to use any of these. Also, alot of scripting commands wont work for me offline anymore, such as random(0,99) or something like that. I keep getting the same number each time and it never changes!!!
insertstring/addstring can most likely be found in newfeatures2001.txt

random.. well.. i have no explanation for that :|

example:

this.blah=random(0,99); (will most likely give you a decimal)
this.blah=int(random(0,100)); (will give you an integer #)

reeset1 10-21-2002 01:55 AM

I knew how it worked, it was just the fact that is WASN'T working...

I fixed it now :D


All times are GMT +2. The time now is 08:02 PM.

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