Jump to content

Wandering Soulstar

Resident
  • Posts

    421
  • Joined

  • Last visited

Reputation

102 Excellent

Recent Profile Visitors

753 profile views
  1. @peterperegri seria mejor que posteas en el foro Espanol ... o el de respuesta tecnicas .. este foro es para temas de 'land' .. no cosas tecnicas
  2. To be clear, when ever you call llGetOwner() it will return the current owner of the object where the script resides, you do not need to reset your script. If you have the Owner Id stored in a variable, listens set to the owner, etc., you will need to reset these on ownership change (detected in the change event). In the above script I do not see any reason why the script needs to be reset on ownership change. I do see how this confusion can arise from the initial parts of the Wiki, as the wording is a bit ambiguous. Buit if you go the last example in the Notes, you'll see that the problem is not with the funtion llGetOwner, rather elsewhere.
  3. Right .. had forgotten that .. so no need to store outside
  4. Yep .. just look up llGetSubString on the wikli .. very simple
  5. What not have the word, in English for example, as part of the name of the texture: ENG_Texture_Boat & FRA_Texture_Boat. then you could use llGetSubString to identify the word and see if it is a match.
  6. AHHH <face palm> ... of course should have thought of that .... coding 101 .. thanks so much @Wulfie Reanimator
  7. @Erwin Solo If the items being given are no mod, I'd store the initial Die Time in the Object description .. as things stand, the owner of the object just needs to reset the script themselves to avoid the object dying on them. If the object is modifiable .. then you could consider using PRIM_TEXT for the same .
  8. @Sunbleached .. it is quite clear that you do not know how to code, and are simply searching for someone to modify this script for you. IF you knew anything about coding, you would either not be asking these questions, or at least after @Rolig Loon gave you such kind instructions in the other thread (where you double posted the question) you would be able to do this. Like I said above . this Forum is not a Free Script Modification/Customisation/Creation source.
  9. Hi All, Had a snippet of code that was driving me mad .. got it fixed but I do not understand what was going on ... here is what I had (redacted for clarity) integer num = 8; integer found = FALSE; while (num -= 2 >= 0 && !found) { //do something to check found } What was hapening was that with the code was running through the loop SEVEN times, as opposed to the four that I would expect, going from 7 to 1. I got it to work by enclosing the 'num -= 2' in parenthesis. FIne, undertand about forcing the calculation prior to the conditional check or whatever ... what I do not get though is the behaviour seen without the parenthesis. Why would it do a -1 of num?
  10. You re-write the script to do so ... if you are looking for someone to wrote the script for you I'd suggest you post in the 'Wanted' forum. This forum is for specific questions on scripting, solutions to specific problems.
  11. Hi Millie .. sounds interesting .. but also sounds like it needs an off-world system for storing the information, do you have something for that (i.e. off-world server) or expect that to come with the design ... also you mention a couple of other systems that you have running that would need to interface .. are these open to you so that the scripter would have access to the APIs?
  12. Or change them to floats for the operation and then back to integer
  13. ha ha ha .... actually @Wulfie Reanimator 's suggestion gave me the answer .. using the Build>Script>Set Scripts to Running option .. it at least gives me the name of the object that the script is in .. and if that is something I recognise I can get to the object .. otherwise it's just the remove option ha ha .. by doing that I'm going to each link anywayby hand .. so can dlete the offending scripts while I'm there In this case deleting them all was the best optin as I only needed one script in the root prim Thansk both of you for the prompt response!
  14. Thanks @Alyona Su & @Wulfie Reanimator .. I take from the offered solutions that there is no way to identify which prims have scripts in them?
  15. Hi all .. is there anyway (other than checking the prim) to identify prims that have scripts in them? I have a linked piece, with 183 parts.. and somewhere in there is a script that is no copy .. which is making it difficult to package the house for sale 🙂
×
×
  • Create New...