Jump to content

Isobeast

Resident
  • Posts

    68
  • Joined

  • Last visited

Everything posted by Isobeast

  1. Merry Christmas everybody or whatever you celebrate at this time of the year! I wish all of your dreams to come true! Oh, just one more thing, I decided to stay, no matter how someone may not like it.
  2. When I first fell into SL, it was probably ten years ago, I barely earned ten lindens an hour and it was more like slavery, I had to stand in one place and perform some stupid dance, while I had to watch the advertisements on the walls and it was impossible to get out, as some kind of reset mechanism was triggered. Probably for this they began to prohibit the so-called camping. But it was still very interesting to study the possibilities of this world, one might say, in the best years! I do not know how things are with this now, but I really sympathize with novice players. The greatest success here is likely to be achieved mainly by people with professional skills who perceive SL as a commercial platform. Although some skills can be acquired from scratch here in SL, it takes a lot of strength and perseverance. So yes, it’s difficult for beginners, probably, if you don’t invest real money.
  3. I generally prefer not to read the review, they create a lot of tension in me, like a lottery, so I turned off all notifications from the market. Of course, it's always nice to read good reviews, but bad reviews usually make me very upset. If a person really needs help, they understands that they need to contact me first and not write an angry review. Therefore it saves the nervous system. I advise everyone. Besides, I am doing stuff not for reviews mostly.
  4. Thank you very much! Your version works too now! πŸ‘
  5. Phew! .. Mission accomplished! Thank you so so much everyone for being so helpful and kind!!! πŸ‘
  6. Could you please give an example of using this method? I have not found any wiki examples and have never used it myself.
  7. I managed to do something with the changed event! πŸ‘ but now if you passed the check once, you can sit down over and over again without checking. shouldn't the timer be reset OkToSit to NULL_KEY? I even added a separate reset when getting up, but it didn't help. So far with the changed event ... not sure if this is ok. please correct me if something is wrong !! changed(integer change) { if (change & CHANGED_LINK) { llSetTimerEvent(0); key sitter = llAvatarOnSitTarget(); if (sitter != OktoSit) { llUnSit(sitter); llSetAlpha(1.0, ALL_SIDES); // Show prim llWhisper(0, "Please touch me first to perform the group check"); } else if (sitter != NULL_KEY) { gListener = llListen(channel, "", sitter, ""); llWhisper(0, "Enter the URL of your stream in channel 10. Example: '/10 http://streamurl.com:0000'"); llRequestPermissions(sitter, PERMISSION_TRIGGER_ANIMATION); OktoSit = NULL_KEY; } else { if (llGetPermissions() & PERMISSION_TRIGGER_ANIMATION) { llListenRemove(gListener); if (animation) { llStopAnimation(animation); } llSetAlpha(1.0, ALL_SIDES); // Show prim // Read the default URL from the object description: key default_url = llGetObjectDesc(); llSetParcelMusicURL(default_url); llWhisper(0, "The parcel stream returned to the radio at the URL: " + (string)default_url); } } } }
  8. Oh this is a very valuable remark, thank you! πŸ‘
  9. And here is the touch event touch_start(integer num_detected) { if (llDetectedGroup(0) == TRUE) { llSetTimerEvent(10); OktoSit = llDetectedKey(0); llWhisper(0, (string) OktoSit + "You have 10 seconds"); } else { OktoSit = NULL_KEY; llWhisper(0, "Wrong group tag"); } }
  10. thank you very much! I decided to try what the Prof advised, but nothing came of it. I understand logically, but I cannot transfer it to the script. Here are my changed and timer events. changed(integer change) { if (change & CHANGED_LINK) { llSetTimerEvent(0); key sitter = llAvatarOnSitTarget(); if (sitter != NULL_KEY) { if (sitter == OktoSit) { gListener = llListen(channel, "", "", ""); llWhisper(0, "Enter the URL of your stream in channel 10. Example: '/10 http://streamurl.com:0000'"); llRequestPermissions(sitter, PERMISSION_TRIGGER_ANIMATION); } else UnSit(sitter); } } else { if (llGetPermissions() & PERMISSION_TRIGGER_ANIMATION) { llListenRemove(gListener); if (animation) { llStopAnimation(animation); } llSetAlpha(1.0, ALL_SIDES); // Show prim // Read the default URL from the object description: key default_url = llGetObjectDesc(); llSetParcelMusicURL(default_url); llWhisper(0, "The parcel stream returned to the radio at the URL: " + (string) default_url); } } } timer() { OktoSit == NULL_KEY; llSetTimerEvent(0); }
  11. The plan was this: the avatar clicks on the prim, and if the group matches, then the avatar has, say, ten seconds to sit down. if the group does not match, then there is no way to sit. and then I realized that the avatar can also sit with the right mouse button ... and then I got stuck.
  12. I tried adding a touch event to catch the group and a timer to temporarily let the avatar sit down, but the script turned into a mess and I got confused. is there any other easier way to check?
  13. Thank you very much! Your examples were very useful to me! Another question. I'm trying to add a group check if (llDetectedGroup(0)), and to use llUnSit() if not in group, but none of the events seem to work for this: changed, listen and run_time_permissions ... What to do in this case?
  14. Thank you very much! Now it is clear!
  15. This script looks very useful! https://community.secondlife.com/forums/topic/32812-basic-pose-ball-script/ ... But how do you prevent the error message from appearing if there is no animation in the prim or the animation is named incorrectly? Is it possible to simply pop up a message in the chat instead of it stating that "the animation is missing or is incorrectly named ... " Oh, and what to do if the URL entered is invalid, or the text is not a URL at all?
  16. Thank you very much! Definite progress has been made on this issue, thanks to you! Could you please also help to make the text box activate when the avatar is sitting on a prim? And how to determine the moment when the avatar gets up to change the URL to the default one?
  17. Wow! I tested it and I like it! Thanks! Conveniently, this switch doesn't need separate buttons. πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘
  18. Hey! how can a landowner allow others to control (change) the music stream on their land using a script? can anyone add their own streams in this case? is it possible?
  19. Many thanks! Just tried your script, it's perfect! It was such a rainy day, very impressive!
×
×
  • Create New...