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-21-2002, 12:05 AM
reeset1 reeset1 is offline
Registered User
Join Date: Jan 2002
Posts: 112
reeset1 is on a distinguished road
Send a message via AIM to reeset1 Send a message via Yahoo to reeset1
Question 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!!!
__________________
---
Reese is no longer the (Events Admin)
Reply With Quote
  #2  
Old 10-21-2002, 12:15 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: 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 #)
__________________

Reply With Quote
  #3  
Old 10-21-2002, 01:55 AM
reeset1 reeset1 is offline
Registered User
Join Date: Jan 2002
Posts: 112
reeset1 is on a distinguished road
Send a message via AIM to reeset1 Send a message via Yahoo to reeset1
I knew how it worked, it was just the fact that is WASN'T working...

I fixed it now
__________________
---
Reese is no longer the (Events Admin)
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 09:31 PM.


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