|
Cat Fratica
Miaow...
Join date: 28 Dec 2006
Posts: 153
|
05-04-2007 13:20
OK - I have posted this question several times in Script Library but it doesn't appear - am I missing something?
Anyway - although I have done a course on scripting (in world) I only feel capable of slight modifications to existing scripts and really want to know if there is an existing script that does the job I want either as a freebie or that I can buy!?
I have a number of 'boards (flat prims) in my club that have a selection of pictures appropriate to the current event on them... I have been dragging and dropping the appropriate textures to each board prior to the event. I now have a script in each board that will allow me to click and toggle through the pictures.
The next step - and what I am looking for - is a script that will let me change all the pics at once with a voice command - so, for example, I might say: "/99 Red*" and the first board will display Red01, the second Red02 etc.
Any help with this or suggestions for alternative methods would be greatly appreciated!
Cat x
|
|
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
|
05-04-2007 18:45
sent you one in game, hope it works
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
05-04-2007 21:20
the Script Library is for scripts only not questions, posts get approved. you could change your touch even to a listen event to make it work the way you want if you want to try it yourself post the script you have so far here using PHP tags if you really need some one to to make a script try products wanted ppl looking for work look there. -LW
_____________________
L$ is the root of all evil videos work! thanks SL 
|
|
Cat Fratica
Miaow...
Join date: 28 Dec 2006
Posts: 153
|
Thanx max
05-07-2007 05:51
Couldn't actually get it to work - whether i put textures in contents or 'dragged and dropped' them onto the board - it still either ignored commands or gave an error of texture not found - very erratic...
Cat
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
05-07-2007 10:01
I take all the boards have all the associated textures already in their inventory? If you name each board so they know which texture to use it should just require a listen integer Channel = 99;
default { state_entry() { llListen(Channel,"",llGetOwner(),""); }
listen(integer channel, string name, key id, string message) { string name = message + llGetObjectName(); integer itemtype = llGetInventoryType(name); if(INVENTORY_TEXTURE == itemtype) llSetTexture(name, ALL_SIDES); }
changed(integer change) { if(CHANGED_OWNER & chnage)llResetScript(); } }
|
|
Max Pitre
Registered User
Join date: 19 Jul 2006
Posts: 370
|
05-07-2007 10:44
From: Cat Fratica Couldn't actually get it to work - whether i put textures in contents or 'dragged and dropped' them onto the board - it still either ignored commands or gave an error of texture not found - very erratic...
Cat The script I gave you only changes one side of the prim so if that side isnt the side you want changed then either you change it to ALL_SIDES ( llSetTexture(name, ALL_SIDES); )or the number for the side you want changed. Or you can adjust your prim to show the side that does change.
|