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 06-24-2004, 06:33 PM
JohnGames JohnGames is offline
Registered User
Join Date: Jun 2004
Posts: 107
JohnGames is on a distinguished road
Quote:
Originally Posted by Trevor
Why can you not rely on tokenize to keep the tokens until its next call? I would trust the Graal client more to store strings of tokens than myself.
My script overwrites them... I lose them instantly
Reply With Quote
  #2  
Old 06-24-2004, 07:32 PM
Trevor Trevor is offline
True
Trevor's Avatar
Join Date: Mar 2003
Posts: 2,253
Trevor is on a distinguished road
Quote:
Originally Posted by JohnGames
My script overwrites them... I lose them instantly
I do not see where it overwrites them. At the very least the tokens should stay until the end of the current control scope. And since you only call tokenize at the top of each control scope, how in the world are you overwriting them?

Also, I'm pretty sure that #t's are read-only. So the only thing that can assign new values to them is a call to tokenize.
__________________


name: Trevor Fancher
email: trevor at fancher dot org
home page: fancher.org
Reply With Quote
  #3  
Old 06-24-2004, 07:50 PM
JohnGames JohnGames is offline
Registered User
Join Date: Jun 2004
Posts: 107
JohnGames is on a distinguished road
Quote:
Originally Posted by Trevor
I do not see where it overwrites them. At the very least the tokens should stay until the end of the current control scope. And since you only call tokenize at the top of each control scope, how in the world are you overwriting them?

Also, I'm pretty sure that #t's are read-only. So the only thing that can assign new values to them is a call to tokenize.

The script call is over when I call it again as something new; so it went away
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 01:23 AM.


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