Jump to content

SubZeroWins

Resident
  • Posts

    162
  • Joined

  • Last visited

Everything posted by SubZeroWins

  1. I already made a simple one animation using qavimator and I uploaded with priority 4, same thing again
  2. Funny is that some furnitures I have with av sitter work just fine...
  3. Ok I rezzed a new cube, no scripts inside, and I sat on it. Then I opened the animation to run it "Play inworld" and it worked. I stopped it and then I opened another animation (a standing one) and it played in a wrong way. So it seems sitter has nothing to do. PS I Also removed my ao
  4. Any chance there is something wrong with the sitter?
  5. No its not bento, and when using it directly from my inventory it runs perfect. If it was bento, why should there be a problem since Im using the latest body parts?
  6. Hello, I bought a single animation, everything is fine when using it directly from my inventory but when I putting it in a prim to use it with av sitter, my body breaks, please take a look here https://gyazo.com/c6c93a6701ed03481b7c72fdbb33c2a9 Why is this happening?
  7. I read that a timer's long interval consumes memory so I thought that a 1 second timer would be better, so when using the Countdown and reaching -1 to trigger the function and then start again from 5. Finally using the original script exactly as it is it does my work. Though Im very curious, back to my script integer Countdown=5; integer IsDay; Check() { vector sun_dir = llGetSunDirection(); if (sun_dir.z > 0 && IsDay == FALSE) { IsDay = TRUE; llOwnerSay("DAY"); } else if (sun_dir.z < 0 && IsDay == TRUE) { IsDay = FALSE; llOwnerSay("NIGHT"); } Countdown=5; llSetTimerEvent(1.0); } default { on_rez(integer start_param) { llResetScript(); } state_entry() { vector sun_dir = llGetSunDirection(); IsDay = (sun_dir.z < 0); Check(); llSetTimerEvent(1.0); } timer() { Countdown--; if(Countdown==-1) { Countdown=5; llOwnerSay("CHECK"); Check(); } } } The timer was printing "CHECK" every 5 seconds but when the day became night I was expecting it to print "NIGHT" but it didn't and it continued to print "CHECK".
  8. Missing semicolon was only a typo while posting it. And yes, Its my land and I run other scripts with no problem. I will post the modified code Im using for my purposes (there are very few changes though) integer Countdown=5; integer IsDay; Check() { vector sun_dir = llGetSunDirection(); if (sun_dir.z > 0 && IsDay == FALSE) { IsDay = TRUE; } else if (sun_dir.z < 0 && IsDay == TRUE) { IsDay = FALSE; } Countdown=5; llSetTimerEvent(1.0); } default { on_rez(integer start_param) { llResetScript(); } state_entry() { vector sun_dir = llGetSunDirection(); IsDay = (sun_dir.z < 0); Check(); llSetTimerEvent(1.0); } timer() { Countdown--; if(Countdown==-1) { Countdown=5; Check(); } } } The problem appears when switching from day to night or the opposite. Its exactly the moment when the timer stops. Im not that experienced with lsl but I cant see the reason its happening. Btw, thank you all for your contributions.
  9. I set it like integer time = 2 Is this wrong?
  10. I tried that already, still doesn't work. Thanks.
  11. Hello all, Im experimenting with the following script http://www.aliciastella.com/modules/AMS/article.php?storyid=39 to check whether its day or night. I put 2 seconds for the timer's interval but it seems that it doesn't work. Can anyone tell me why?
×
×
  • Create New...