Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 09-22-2006, 07:25 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Err ah doesn't work clientside I believe
player.chat = "Tab" TAB "Testing";
__________________

Reply With Quote
  #17  
Old 09-22-2006, 09:24 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Tab works in GUI controls, but not in anything else as far as I know.
When using the TAB operator, it's probably best if you define 'column.' I haven't tried without giving the tab widths, so I'm not sure if it will work if you don't define the 'column' string.
Reply With Quote
  #18  
Old 09-22-2006, 09:50 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
TABs are working fine. When displaying chat or chatting in RC then control characters are removed though.
Reply With Quote
  #19  
Old 09-22-2006, 09:59 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by ZeroTrack View Post
Err ah doesn't work clientside I believe
player.chat = "Tab" TAB "Testing";
That made a box =o
Reply With Quote
  #20  
Old 09-25-2006, 01:42 AM
naokohiro naokohiro is offline
Twilight Ninja
naokohiro's Avatar
Join Date: Jun 2006
Posts: 70
naokohiro is on a distinguished road
what's the gs2 version of the function "indexof(partstr,str)"?
__________________
Quote:
Originally Posted by MisterMastermind
That's right, but you're now our new pixel monkey. Get to work or no banana.
Reply With Quote
  #21  
Old 09-25-2006, 03:10 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
str.index(partstr)
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote
  #22  
Old 09-25-2006, 03:12 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by naokohiro View Post
what's the gs2 version of the function "indexof(partstr,str)"?
str.pos(partstr) returns where 'partstr' appears in a string
str.index(partstr) returns where 'partstr' appears in an array
Reply With Quote
  #23  
Old 09-25-2006, 04:08 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by KuJi View Post
That made a box =o
Quote:
Originally Posted by Stefan View Post
TABs are working fine. When displaying chat or chatting in RC then control characters are removed though.
Grats @ Reading.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #24  
Old 09-26-2006, 12:14 AM
naokohiro naokohiro is offline
Twilight Ninja
naokohiro's Avatar
Join Date: Jun 2006
Posts: 70
naokohiro is on a distinguished road
thankyou, is there a list where I can find these functions sitting next to their old gs1 functions?
Also I have a question.
Let's say i make a list using string.add(string), how do i check a specific string in the list, like for example if i wanted like the third thing in the list, what would i use?
__________________
Quote:
Originally Posted by MisterMastermind
That's right, but you're now our new pixel monkey. Get to work or no banana.

Last edited by naokohiro; 09-26-2006 at 02:12 AM..
Reply With Quote
  #25  
Old 09-26-2006, 03:52 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
string[2] is the third object in the list.
Reply With Quote
  #26  
Old 09-26-2006, 08:36 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by naokohiro View Post
thankyou, is there a list where I can find these functions sitting next to their old gs1 functions?
Also I have a question.
Let's say i make a list using string.add(string), how do i check a specific string in the list, like for example if i wanted like the third thing in the list, what would i use?
I suggest reading the object functions page.
http://wiki.graal.net/index.php/Crea...ject_functions
__________________
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 10:54 AM.


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