|
Fastrak Creeley
Registered User
Join date: 13 Oct 2006
Posts: 23
|
02-09-2009 17:06
Greetings. First, I know nothing of scripting. In the past, I have bought what I have needed. At the moment, I require something, but I am not sure if it exits or is even possible. So that's why I have come here. If its possible, I'll go to the products wanted. If not, well that will be that. Let me start with, I create furniture. I bought a script that will change specific textures on specific prims in a linkset. After configuration, the user touches the object, a dialog menu drops down and allows choices thru a submenu or two, if needed. I have also purchased a avatar sitting system, Perfect Sitter 2.2, that again, once configured will allow the user to make choices through a menu. I would like to combine these two systems together in a dialog menu of my own, so the user can choose whether to change textures (then that specific scripts goes into action) or change the animations (which then triggers that set of scripts), but since I do not have the rights to modify the scripts from these, I have no idea of whether this can be done. Any thoughts?  Thank you.
|
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
02-09-2009 17:45
it depends on how it triggers the first menu. perfect sitter has a custimization script, basically what it does is sends a link message "touched" and the key of the toucher in the id field. if you wanted to access it from a custom menu it would be something like integer listener; default { touch_start(integer num) { key id = llDetectedKey(0); llListenRemove(listener); listener = llListen(5,"",id,""  ; llDialog(id,"Choose an option",["Texture Menu","Animations"],5); llSetTimerEvent(30.0); } listen(integer chan, string name, key id, string str) { if(str == "Animations"  {llMessageLinked(LINK_SET,0,"Touched.",id);} else if (str == "Texture Menu){//something to activate the texture menu} } timer() { llListenRemove(listener); llSetTimerEvent(0); } }
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
02-10-2009 12:04
IN GENERAL the answer is: can you modify the scripts in question, or do you know the chat protocols they use? If so, then PROBABLY you can do this. If not, PROBABLY you cannot.
|