Jump to content

Wakal Foxtrot

Resident
  • Posts

    1
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

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

  1. Hello, Im fairly new to lsl scripting, however I have a basic background in Java language. What Im trying to do is create a script that will allow an object that is attached to an avatar to hover up and down indefinitely. I would rather not make the object a following object because of parcel auto returns and all that jazz. So, is there a way to do this? Thanks in advance for all advice and help! EDIT ---------------------------------------------------------------------- I couldint find a reply or new post button so here this is: Thank you for the help, I was able to get the attachment to float up and down using " llSetLinkPrimitiveParamsFast" and I was able to get its animation relatively smooth using while loops and small wait timers and tiny movements. something like this while (vecpos <= 10) { if (vecpos < 10) { llSetLinkPrimitiveParamsFast(LINK_SET, [PRIM_POS_LOCAL, llGetLocalPos() + <0,0,0.05>]); vecpos++; llSleep (0.1); } else { while (vecpos != 0) { llSetLinkPrimitiveParamsFast(LINK_SET, [PRIM_POS_LOCAL, llGetLocalPos() + <0,0,-0.05>]); vecpos--; llSleep (0.1); } }
×
×
  • Create New...