Jump to content

Lboro12

Resident
  • Posts

    18
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi guys, When you click on an prism face that has Shared Media (MOAP), and you go its settings, it has a reset button that resets itself (more like a refresh). Is there a way to duplicate that function in-world by creating a button attached to the prism face that says reset. That way visors can click on that button reset the Shared Media? Thanks in advance
  2. Hi guys, When you click on an prism face that has Shared Media (MOAP), and you go its settings, it has a reset button that resets itself (more like a refresh). Is there a way to duplicate that function in-world by creating a button attached to the prism face that says reset. That way visors can click on that button reset the Shared Media? Thanks in advance
  3. Thanks a bunch guys, Madelaine, I am using your suggestion but what if I want to draw multiple lines emanating from one object. For instance, if I draw one line to one object (after I get its UUID using touch), andI select another object and want to draw a line to the first object, it deletes the previous line and makes a new line to the new object which I dont want. I want the previous line to stay there and have it create another line. Innula Zenovka, I would love to test your script but unfortunately, the engine I am running on (opensim 0.7.5) doesn't some of the methods implemented.
  4. Thanks ever so much Xiija! Is there a way to alter so that the user clicks on the starting object and then the end object andit draws it automatically. At the moment, I have to get the UUID for the end object.
  5. Hi guys, What would be the best possible way (if any) for the avatar to draw a line from one object to another. I have searched the forums and found this post: http://forums-archive.secondlife.com/54/63/324959/1.html The answer was that it can be done with particles. Has anyone implemented such function before using particles?
  6. There's where I am stuck. I have thought about sending the UUID but it won't make sense. I have thought about changing the description of the object that is touched to 'torch' and create an if loop in the other script that checks if the object that is sending the data has the description 'torch'.
  7. Hi Dora, That makes sense. But what about multiple objects next to each other that have the same script code. Won't they be all hearing the same response?
  8. Hi Dora, I am using a textbox script which requires a channel. I have got another script inside the same object that listens on that channel and processes it.
  9. Hi Niall Braveheart, Is there an alternative way without using llMessageLinked as I have already utilised channels.
  10. Hi guys, I have several objects that listen on a fixed channel. However, I want these objects to communicate with themselves as opposed to others. For instance, if I send a msg that changes the object's name, it also changes the names of those other objects that are listening on that particular channel. How do I make sure that only the object where the script is executed should only listen to itself.
  11. Hello all, I am using the sharedmedia plugin with navigation disabled. However, I was thinking whether it is possible to place a small prim next to the object, whenever the user clicks on it, it returns him to the homepage? Is it achievable?
  12. Hi, I have added them at the top as global variables string detected_name = llDetectedName(0); integer detected_key = llDetectedKey(0); but it throws an error.
  13. Hi Dora, I am paraded with error msgs after making the necessary change. The original code is: integer listen_handle;string detected_name;default{ touch_start(integer total_number) { integer channel = 25; detected_name = llDetectedName(0); listen_handle = llListen(channel, "", llDetectedKey(0), ""); llSay(0, "Please type the name. You have 1 minute."); llTextBox(llDetectedKey(0), "Type your name below", channel); llSetTimerEvent(60); } listen(integer channel, string name, key id, string message) { llListenRemove(listen_handle); llSetTimerEvent(0); } timer() { llSay(0, "Sorry, you did not type the name fast enough and has timed out. Please try again."); llListenRemove(listen_handle); llSetTimerEvent(0); }} The modified code (after adding touch_end) is: integer listen_handle;string detected_name;default{ state_entry() { } touch_end(integer num_detected) { state two; } }state two{ state_entry() { integer channel = 25; detected_name = llDetectedName(0); listen_handle = llListen(channel, "", llDetectedKey(0), ""); llSay(0, "Please type the name. You have 1 minute."); llTextBox(llDetectedKey(0), "Type your name below", channel); llSetTimerEvent(60); } listen(integer channel, string name, key id, string message) { llListenRemove(listen_handle); llSetTimerEvent(0); } timer() { llSay(0, "Sorry, you did not type the name fast enough and has timed out. Please try again."); llListenRemove(listen_handle); llSetTimerEvent(0); }}
  14. Hi guys, I have written a lltextbox lsl script that once it touches the prim, it pops up a textbox. However, how can I modify it the prim can only be touched once and once the user enters a msg in the textbox, it disables itself and doesn't do anything else, no matter how many times you touch it. Thanks in advance
×
×
  • Create New...