soompra Palen Posted July 6, 2019 Share Posted July 6, 2019 anyone know a script to move a prim up quite slowley i want to add words and make them go up slightly then back down, i know how to make things transparent using Gimp2 thank you all im only trying to learn but i dont want it to take about a year, if i can get a starter one i can experiment on it thank yous again hugs Link to comment Share on other sites More sharing options...
panterapolnocy Posted July 6, 2019 Share Posted July 6, 2019 (edited) You may want to play around with http://wiki.secondlife.com/wiki/LlSetKeyframedMotion , some basic example that would produce the effect you're looking for: default { state_entry() { llSetAlpha(0, ALL_SIDES); // Makes prim invisible llSetLinkPrimitiveParamsFast(LINK_THIS, [ PRIM_TEXT, "Meow", <1, 1, 1>, 1, // Set text contents, color and alpha here PRIM_PHYSICS_SHAPE_TYPE, PRIM_PHYSICS_SHAPE_CONVEX, PRIM_PHANTOM, TRUE, PRIM_PHYSICS, FALSE ]); llSleep(2); // Small delay just to make sure that physical shape was applied llSetKeyframedMotion( [<0.0, 0.0, 0.5>, 5, <0.0, 0.0, -0.5>, 5], [KFM_DATA, KFM_TRANSLATION, KFM_MODE, KFM_PING_PONG] ); llSetMemoryLimit(llGetUsedMemory() + 1024); } } Edited July 6, 2019 by panterapolnocy Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted July 6, 2019 Share Posted July 6, 2019 Slow movements can be achieved by using llSetPos() with the proviso that there will be a momentary delay between each change in position. timer() { vector myPos = llGetPos(); myPos += <0.0, 0.0, -0.02>; // alternate the sign to change direction of vertical movement llSetPos(myPos); } Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now