Xander Lopez Posted March 31, 2020 Share Posted March 31, 2020 so i was referring to the documentation shown here to create flight assist program. My objective is to simply reduce flight speed and not the run speed by modifying this code. After looking at the flight assist script, I am starting to have question as if the code inside the timer is necessary to fly slower now? timer() { if (llGetAgentInfo(llGetOwner()) & AGENT_FLYING) { llSetForce((<0.0,0.0,9.81> * llGetMass()),0); jump flight_off; } llSetForce(<0.0,0.0,0.0>,0); @flight_off; llSetTimerEvent(0.5); } It sounds like this portion was written so people could fly above certain height when secondlife in 2007 didn't allow you to fly above certain height. Can I omit this script portion inside the timer and still be able to fly slower with no problem? Link to comment Share on other sites More sharing options...
Mollymews Posted March 31, 2020 Share Posted March 31, 2020 comment out the lines and see what happens. if the script then doesn't behave as you are thinking then uncomment them 2 Link to comment Share on other sites More sharing options...
Rachel1206 Posted March 31, 2020 Share Posted March 31, 2020 (edited) It just set the move force, if you are flying and with more and more force, not the best for a true fly assist, but OK for a script showing the principles. Improve by change conditions to if NOT flying, where you script it to hover a little side to side and up/down. Edited March 31, 2020 by Rachel1206 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