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 09-12-2002, 05:30 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
this(or not).string question

If I replaced this in a this.string with something else (say...that.string), would I be able to have a script only recognize the that.strings?

(P.S. This is for strings set using setstring)
__________________
Reply With Quote
  #2  
Old 09-12-2002, 05:48 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Re: this(or not).string question

Quote:
Originally posted by Googi
If I replaced this in a this.string with something else (say...that.string), would I be able to have a script only recognize the that.strings?

(P.S. This is for strings set using setstring)
no
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 09-12-2002, 06:34 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Re: Re: this(or not).string question

Quote:
Originally posted by Falcor

no
__________________
Reply With Quote
  #4  
Old 09-12-2002, 06:41 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
We don't need reiderations (sp?), once is enough.
__________________

subliminal message: 1+1=3
Reply With Quote
  #5  
Old 09-12-2002, 08:20 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
***aghagygh, Okay, thanks.

Gah, now I gotta do this thi long way XD
__________________
Reply With Quote
  #6  
Old 09-13-2002, 12:52 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
What do you need to use it for? I’ve used setstring this.#a,#p(0); before for a notification script. And it checks this.#a to see if it has a value, and then it sends a message to all the tokens (after it’s tokenized) so you could do it that way. Or you could make it like:
Setstring this.string#v(this.var),value;
That way it would do it, and you could call it and such. No reason for a that.string anyway =/
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #7  
Old 09-13-2002, 05:42 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
That wouldn't work, since it was going to be a list of 100 or so "items"
__________________
Reply With Quote
  #8  
Old 09-13-2002, 06:14 AM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
*cough*
String Array
*cough*
__________________
- R0bin
Reply With Quote
  #9  
Old 09-13-2002, 10:46 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
*rolls* That is another option if it's going to be huge. There isn't a reason though you can't use a string array, or if you're a noobie use setstring this.string#v(this.var),value; instead :P but I don't use string arrays unless I need to keep track of data more and for a larger quantity.
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #10  
Old 09-14-2002, 04:38 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
You can't keep string arrays seperate from other string arrays though.
__________________
Reply With Quote
  #11  
Old 09-14-2002, 04:40 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
Quote:
Originally posted by emortylone
*rolls*
---Shifter
@_@ *imagines someone rolling around on the floor by the computer*


and googi, what are you talking about =x? its called using different string names?
__________________
GONE, BAI

Last edited by Graal2001_NAT; 09-14-2002 at 11:18 AM..
Reply With Quote
  #12  
Old 09-14-2002, 11:15 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
I think I'm liking Jagen a bit more each day EXACTLY, you CAN keep them different x.X =/
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #13  
Old 09-14-2002, 08:29 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
I mean keeping a group of string arrays seperate from every other string array.

Not keeping a single string seperate.
__________________
Reply With Quote
  #14  
Old 09-14-2002, 08:32 PM
R0b1n-NPC R0b1n-NPC is offline
Registered User
Join Date: Sep 2002
Posts: 397
R0b1n-NPC is on a distinguished road
setstring this.stringarray1,googi,stfu,:P;
setstring this.stringarray2,You,can,keep,them,seperate;
setstring this.stringarray3,If,you,cant,then,you,are,dumb,:P ;
__________________
- R0bin
Reply With Quote
  #15  
Old 09-14-2002, 09:02 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Quote:
Originally posted by R0b1n-NPC
setstring this.stringarray1,googi,stfu,:P;
setstring this.stringarray2,You,can,keep,them,seperate;
setstring this.stringarray3,If,you,cant,then,you,are,dumb,:P ;
:-\

That's what I meant by "the long way"
__________________
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 06:23 PM.


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