Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

information from note cards

Bizcut Vanbrugh
Registered User
Join date: 23 Jul 2006
Posts: 99
06-03-2007 08:33
hmmm well it seems that i ask alot of similar questions at least for note cards. personaly i think they are a great way to store editable information without opening you script up to people ya dont want it opened to or that dont understand scripting enough to edit themselfs. not saying that i know everything or i wouldnt be asking questions here would i ? LOL

anyways i am working on making like a book thing now. one pane shows a pic/texture the other pane have some hover text in it for the pic that is displayed. after fooling around a considerable bit i finaly got a working script that on touch will move to the next line of a note card and llSay what is on it. and yes it will even roll over after the last line is read. i was pretty impressed with myself for that. but the ultimate goal is to have a note card that contains 2 pieces of information

1) a UUID for the textures
2) the words for the text pane

i am not real sure how to do this and i have been looking and tweeking several other scripts to try and get it done. i am not wanting it done for me as i will not fully understand that way but if some one wouldnt mind helping me to understand what i need to do to accomplish this i would be very greatful.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
06-03-2007 08:40
Well, you just put the info in the notecard line, either using alternating rows in the notecard for UUID and description, or put both pieces of information on the same line, using some kind of delimiter character (~ or | are good ones to use) and use llParseString2List() or llParseStringKeepNulls() to split them apart after you read the notecard line.
Bizcut Vanbrugh
Registered User
Join date: 23 Jul 2006
Posts: 99
06-06-2007 18:37
well after talking to a friend they suggested using a csv to work the process out and i must say it helps loads for what i want it to do. i i think about it i will get it chenged up a bit and post it here and maybe even see about getting it on the Wikki for others to use. well thanks for the halp and see ya soon with a nother stupid question