![]() |
|
11-11-2012
|
1 |
|
Registered User
Join Date: Aug 2011
Location: En La Caja
Posts: 1,679
|
Furniture Codes (#n, #i, etc)
Hello, For those who do not know, you can use #vars on furniture in iClassic. Many of the original GS1 vars have been made available to furniture say2 actions, but there are some that have not. I have compiled a list of those that are deprecated and those of which still remain in use. Key: Strikethrough - Obsolete/Deprecated Index - 0 for player, 1 for NPC/Furniture Item Vars ("Codes" as referred to by the iOS community): #a - the account name of the player #b - line break (for say2) #C0, #C0(index) - the skin color #C1, #C1(index) - the coat color #C2, #C2(index) - the sleeves color #C3, #C3(index) - the shoes color #C4, #C4(index) - the belt color #c, #c(index) - the current chat text of the player #e(startindex,length,string) - extracts a substring out of ‘string’ (length=-1 -> till the end) #f - the image filename of the npc #g, #g(index) - the guild name of the player #I(list,index) - gets a string of a string list #i(imgname), #i(imgname,x,y,w,h) - displays an image or a part of an image when used in a sign #K(keyindex) - the name of the specified key #k(keyindex) - the description of the specified key (in local language / key assignments) #L - the current level filename #m, #m(index) - the animation of the player #n, #n(index) - the nick name of the player (index=-1 -> npc character, 0 -> current player) #P1, #P1(index) - the gani attribute 1 (hat) #P2, #P2(index) - the gani attribute 2 #P3, #P3(index) - the gani attribute 3 #P4, #P4(index) - the gani attribute 4 #P5, #P5(index) - the gani attribute 5 #p(index) - action parameter of the specified index #s(var) - the value of the string variable ‘var’ #t(index) - token of the specified index, produced with tokenize #T(string) - trims the string (removes spaces at the beginning and end) #v(var) - the value of ‘var’ as string #W, #W(index) - the filename of the weapon icon #w,#w(index) - the name of the current npc weapon of the player #1, #1(index) - the sword image filename of the player #2, #2(index) - the shield image filename of the player #3, #3(index) - the head image filename of the player #5, #5(index) - the image filename of the player’s horse #6, #6(index) - the image filename of the npc that is carried by the player #8, #8(index) - the body image filename of the player I hope there's something of use stored within here. Most of this is common knowledge, but I thought I would share for those who don't know about these nifty references to strings/variables. Hope I've Been of Some Assistance, BboyEatsbacon |
|
11-11-2012
|
2 |
|
Registered User
Join Date: Mar 2012
Location: New Zealand
Posts: 2,956
|
Handy, but the title should probably be something people understand more. ALSO YOU HAVE 1069 POSTS http://r15.imgfast.net/users/1511/46/26/15/smiles/1944190462.png (Unsupported image host) |
|
11-11-2012
|
3 | |
|
Registered User
Join Date: Aug 2011
Location: En La Caja
Posts: 1,679
|
|
|
|
11-11-2012
|
4 |
|
Registered User
Join Date: Mar 2012
Location: New Zealand
Posts: 2,956
|
|
|
11-11-2012
|
5 |
|
Registered User
Join Date: Aug 2011
Location: En La Caja
Posts: 1,679
|
|
|
11-11-2012
|
6 |
|
Custom User Title
Join Date: Sep 2011
Location: Australia
Posts: 2,534
|
Nice. I knew all of these already, still helpful tho.
|
|
11-12-2012
|
7 |
|
:)
Join Date: Sep 2011
Location: no.
Posts: 10,309
|
Great tutorial, except I don't understand a single thing x.x
|
|
11-12-2012
|
8 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
Nice. Thanks BB.
|
|
11-12-2012
|
9 |
|
floating on
Join Date: Apr 2012
Location: GraalOnline Zone
Posts: 3,422
|
Thank you so much Bboy! Iv'e asked multiple staff and the usuall response was, "lolwut" ty
|
|
11-12-2012
|
10 |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
missing some will get them later
|
|
11-12-2012
|
11 |
|
nothin
Join Date: Jan 2012
Location: York
Posts: 1,483
|
"you must spread some rep before giving to BBoyEatsBacon again
|
|
11-12-2012
|
12 |
|
Registered User
Join Date: Aug 2011
Location: En La Caja
Posts: 1,679
|
|
|
11-12-2012
|
13 | |
|
:)
Join Date: Sep 2011
Location: no.
Posts: 10,309
|
All of this stuff, I'm just not sure what it does.
|
|
|
11-12-2012
|
14 |
|
Registered User
Join Date: Aug 2011
Location: En La Caja
Posts: 1,679
|
Oh. You know how you can edit what an object says when you touch it? Basically, these will allow you to do certain things. For example, #c would show the player's chat, rather than showing #c to the player. #c(index) just means you can either put a 0 for the index, representing the player, or a 1 for the NPC.
|
|
11-13-2012
|
15 |
|
floating on
Join Date: Apr 2012
Location: GraalOnline Zone
Posts: 3,422
|
is there a code that shows an image of the player's hat?
|