Jump to content

GloriaGlitter

Resident
  • Content Count

    65
  • Joined

  • Last visited

Community Reputation

17 Good

About GloriaGlitter

  • Rank
    Advanced Member

Recent Profile Visitors

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

  1. Thanks animats - also found your thread 'How to make clothing for animesh' in the Animesh section very useful too.
  2. Hi there - I've not wandered into the area of creating clothing before so hopefully my question makes sense. I have purchased a full perm female Animesh bot for my AI project. This bot comes with a menu where some different clothing textures can be applied. Most of these outfits are rather skimpy so I asked the Animesh creator if they could add a business like pant suit to the menu. They said there was two options - find a mesh clothing designer that could rig an outfit to their bot model or look on MP for suitable system clothing and then see if the creator would supply a .dae file.
  3. doh - what a newbie error - you were right - there was a spurious space in the data that didn't show when I checked via llOwnerSay. All sorted now. Thanks
  4. I've started experimenting with bringing in live data via API calls to external services, particularly those that present their output in json format. This is to provide extra functionality to my AI bot. So far I've got live weather reports working very nicely. Currently I'm working with live currency exchange rates. My question is can I use a string variable in my llJsonGetValue statement in place of a value? To explain further, after the http call, variable 'body' is set to {"rates":{"USD":1,"AED":3.67,"ARS":78.93,"AUD":1.38,"GBP":0.761,"GTQ":7.78,"HKD":7.75,"HRK":6.37}}
  5. 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
  6. 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.
  7. Ah - knew it was a simple error. Thanks for that Rolig
  8. 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
  9. Some great ideas here for me to work with. Thanks for the contributions - I'll report back here as I make progress.
  10. 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
  11. 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?
  12. 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.
  13. 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 = [
  14. 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
  15. 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?
×
×
  • Create New...