Jump to content

flight assistant


Xander Lopez
 Share

You are about to reply to a thread that has been inactive for 1484 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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

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 by Rachel1206
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1484 days.

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
 Share

×
×
  • Create New...