These forums are CLOSED. Please visit the new forums HERE
A script reader??? |
|
|
Dray Brocco
Registered User
Join date: 23 Jun 2005
Posts: 19
|
03-28-2006 10:32
I was at a poetry event one night, and each participant handed out note cards to the one who read them for the contest. The reader had some scripting device that would allow the text to spit on the chat screen at a faster than normal rate. He called it a script reader, although that's not the technical name for it. If anyone knows what I'm talking about, and knows where I can find something like that in sl, or pehaps can make one, let me know please. Thank you
|
|
Feynt Mistral
Registered User
Join date: 24 Sep 2005
Posts: 551
|
03-28-2006 12:25
It's a script that reads a notecard and says the contents to everyone? That's actually pretty easy, you use llGetNotecardLine() on the notecard you specify to read one line in and the line appears in the dataserver() event function. Successive calls to incremental lines will get the entire contents of the notecard. Essentially all you're getting is a long string, so it's possible that you can have the script filter whether it says a part or not based on a leading value. Like say in a movie script, you would see:
Mike: Hello there Joe: Hi Bob: Hey Unless your script file understand that it's to speak for a particular name, it just reads the text and pauses the appropriate amount of time. But if the leading part comes up that it recognizes (like say it's set to respond to lines that start with Joe) then it'll say that line. _____________________
I dream of a better tomorrow in SL!
You should too. Visit, vote, voice opinions. Support CSG! Tell LL how much it would mean to subtract one prim from another! Prim Animation! Stop by and say something about it, show your support! |
|
Rejeanne Cannoli
Registered User
Join date: 5 Jul 2005
Posts: 5
|
Hmmmm I think I can help.
03-28-2006 14:21
I have something like this, made for a friend who had poetry readings in mind. After several iterations, what she liked the best was in the form of a book -- put the notecard in the book and touch it, and it will whisper the notecard to you. It will also shush any other books in whisper range, so that only one book is being 'read' at a time, within a fairly small location.
The idea was to put a few 'books' on tables scattered in a poetry cafe, and allow patrons to enjoy them without bothering others at nearby tables. Contact me in-world, and I'll be happy to share what I have. |