-
Posts
140 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by Talarus Luan
-
-
You'll have to use the aforementioned functions in a loop. Something like:
for (linknum=2; linknum <= llGetNumberOfPrims(); ++linknum) {
llGiveInventory(llGetLinkKey(linknum),"PhotoA");
llGiveInventory(llGetLinkKey(linknum),"PhotoB");
}
-
If you are using llTargetOmega, you're basically screwed. It always "spins" based on the global axis (except for attachments). Rotating the object means the spin will follow whatever the new axis is.
You either have to detect the change in rotation and re-issue the llTargetOmega call with an adjusted axis, or use another method to do rotation. Depending on how you've designed the wheel, you might be able to use texture animation to simulate rotation.
You can also try a fast timer with setting the rotation via llSetRot(),llSetLocalRot(), or llSet*PrimitiveParams() calls in small increments, but that method is particularly nasty and I would recommend against it.
-
There is no direct LSL function call to retrieve that information.
However, if there is a LL web page for the parcel which can give you that information, you can try and scrape it using llHTTPRequest.
The downside to that method is it can change at any time, so be prepared to update any products you make using it.
-
I think the second particle script posted was a wysiwyg editor artifact. Copying/pasting in this thing is pure hell.
-
Change
vector push = <0,0,0.2>; // Force pushed on particles
to
vector push = <0,0,-0.2>; // Force pushed on particles
and
PSYS_SRC_INNERANGLE,innerAngle,PSYS_SRC_OUTERANGLE,outerAngle,to// PSYS_SRC_INNERANGLE,innerAngle,// PSYS_SRC_OUTERANGLE,outerAngle,You don't want to do both Inner/Outer Angle and Angle Begin/End. -
It is a known bug (listed in the Deep Notes in the LSL wiki for llSetPos):
Basically, you're going to have to move it a significant distance and then back to force it to update. Just put something like this before each move:
llSetPos(<10.0,10.0,10.0>);
-
You need to use PRIM_ROT_LOCAL to set the rotation of child prims. It's a new rule that fixes the goofy rotation issues for child prims.
SIP, Teacup, Red Tea...
in LSL Scripting
Posted
It wasn't clear from the discussion or the wiki pages whether it can work with v1.23.5 or not. I tried it, but got a blank page in the builtin browser, and it wouldn't even open in an external browser (FF3.6).