Jump to content

GloriaGlitter

Resident
  • Content Count

    61
  • Joined

  • Last visited

Community Reputation

16 Good

About GloriaGlitter

  • Rank
    Advanced Member

Recent Profile Visitors

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

  1. Hi there - I have ventured onto Market Place for the first time and my first product is an AI Chatbot which can be used for store greeter, club receptionist, etc. Its at late beta stage and needs a few users to try it out so its listed at just L$1 for a short while. For some reason the MP algorithm said something in my listing made it at level Moderate. Initially I didn't mind but I've since found that anyone I give the link to, can't find it unless they log in to MP and have the correct maturity level. And so I realise now, that this is a problem. I can't think what words I have
  2. Is it possible to script an object so that touching it sets the home location? I've searched around the forum and MP. I'm assuming since there isn't a short cut for it that its probably not possible.
  3. Ah - knew it was a simple error. Thanks for that Rolig
  4. Hi there - this has me puzzled: I have written a little function to capitalize the first character in a sentence. I get an Error: Type mismatch on the last but one line 'testitem = capfirstlet (testitem)' but as far as I can see, I have only been dealing with strings. I must be missing something obvious. string testitem ="phil went shopping"; capfirstlet (string src) { string firstlet = llGetSubString(src, 0, 0); firstlet = llToUpper(firstlet); src = firstlet+ llGetSubString(src, 1, -1); } default { touch_start(integer total_number) { t
  5. Some great ideas here for me to work with. Thanks for the contributions - I'll report back here as I make progress.
  6. Hi Wulfie - up to 1 year in the future. I want to start with a variable that contained the future date/time first. From this date/time, I want to calculate the number of seconds between now and then. [Edit] I've since found some functions in the Date Library - in particular 'gday' which turns a date into a date number. Looks like I can do gday(y2,m2,d2) - gday(y1,m1,d1) which will give me the number of days between dates (x 24 x 60 x 60 to get seconds) - I'll now work on the time element to determine number of extra seconds to add or subtract to get final result - on righ
  7. I'm trying to make a reminder system so I need to calculate the number of seconds between now and a future date/time so I can then use that result in a timer event which can then send the reminder at the appropriate time. llGetUnixTime will give me the number of seconds from 00:00 hours, Jan 1, 1970 till now. Is there a way I can do another llGetUnixTime based on a future date/time and so all I have to do is to take the difference between these two results to get the number of seconds between now and a future date/time?
  8. Thanks Anna - knew it was something like that but couldn't put my finger it - thanks for the explanation too. Thanks Mollymews for the loop tidy up.
  9. I know I'm making a fundamental error here but I cant see what I'm doing wrong. I have written a little bit of script to learn about some list functions. As there was a repeat of a chunk of code I thought I'd make it into a function (displaylist) and just call the function twice but it is not picking up the variables even though I made them global. I know I'm being a chump here by missing something obvious. Code without the function which works fine: list my_list; integer i; integer end; default { touch_start(integer total_number) { list my_list = [
  10. Hi Qie - thanks for your input. I think the +/- 10 degree steps only kick in when the rotation position goes past the end points i.e. more than 45 or less than -45 in order to bring the object position back into range. It seems to work quite well - my low prim mesh receptionist almost looks like an animesh model. It does look like the 'home grown' localrot is a bit of an overkill and I'll have a go at simplifying it as you suggest - on the other hand why fix it if it isnt broke
  11. As an experiment, I tried changing these lines in the original code: if(z > 360) { z -= 360;} else if(z < 0) { z += 360;} to if(z > 45) { z -= 10;} else if(z <-45) { z += 10;} So far it seems to work ok - is this a possible solution to my original question?
  12. Hi Qie - thanks for your replies. Just working with your ETA1, it does rotate +/- 45 degrees but the incremental steps are too big at the moment and so the object moves too fast through the rotational changes. I was looking for much smaller steps (like in the pigeon script above) as if the avatar object was just shuffling around. Yes, re your ETA2 you're right about the tiny x and y values as I wanted the avatar object to slightly tilt back and forth as it rotated enhancing the shuffling impression. At this stage I was going to apply it to the whole object but once I can get this working I
  13. Hi all - I have a script that was originally used to give realistic movement to a pigeon. I have a mesh receptionist avatar object (not animesh) that I've put this script into so that there is a little bit of movement for her rather than her just standing static. So with this script she can rotate 360 degrees which means sometimes she has her back to visitors. I have been trying to adjust this script so that she only turns in say a 90 degree arc (i.e 45 degrees either way of facing forward). Is it worth trying to edit this script or start from scratch. I am not too bad at scripting in gen
  14. Thanks Lucia - I did actually file a bug report yesterday (bug 228888) after posting here first since it didnt seem others had the same experience as me. This was first time I filed a bug report and was surprised to get a very quick response with a request to pass copies of my notecards inworld to a Linden. Will post back here what the solution is.
  15. So I've tested this further to see if the LMs were corrupted or not. I tested one list against another - both seeded with the LMs from my inventory but tested with an alt that didn't have any of these LMs in their inventory. The success/failures are blocked together rather than randomly spread throughout the notecard. These two lists are in alphabetical order and the LMs correspond with each other - in first list the 1st 20 LMs failed to open, next 30 were ok, next 20 failed, next 40 were ok. In second list some of those that successfully opened in first list failed and vice versa - first
×
×
  • Create New...