Author Topic: Auto Pilot (by ÑXTMÅ$TÉR)  (Read 6551 times)

Auto Pilot       by ÑXTMÅ$TÉR

This is my first add-on that I've ever made! Set a keybind then press it, then you infinitely move forward until you release your move forward key!

Download:
MediaFire Download
Return to Blockland
WARNING: You may not be able to view the RTB version yet.
I hope you like it!



Is there a way to change the ... nvm.
« Last Edit: August 05, 2012, 01:02:12 PM by padmedog »

prettya basic, but good


It is my first add-on, so it is basic.
yeh

your NXTMASTER, honestly i never knew

Wow cool, good for piloting long distances.

Code: [Select]
if (!$autoPilotBinds)
{
$remapDivision[$remapCount] = "AutoPilot";
$remapName[$remapCount] = "Toggle AutoPilot";
$remapCmd[$remapCount] = "autoPilot_Startup";
$remapCount++;
$autoPilotBinds = 1;
}

function autoPilot_Startup(%x)
{
if(%x)
{
if(!moveforward(0))
{
moveforward(1);
}
else
{
moveforward(0);
}
}

}
not bad

Code: [Select]
if (!$autoPilotBinds)
{
$remapDivision[$remapCount] = "AutoPilot";
$remapName[$remapCount] = "Toggle AutoPilot";
$remapCmd[$remapCount] = "autoPilot_Startup";
$remapCount++;
$autoPilotBinds = 1;
}

function autoPilot_Startup(%x)
{
if(%x)
{
if(!moveforward(0))
{
moveforward(1);
}
else
{
moveforward(0);
}
}

}
not bad
I tried to make moveforward toggle, but, instead it just kept the same.

Code: [Select]
function your_remap_function( %down )
{
    if ( %down )
    {
        $mvForwardSpeed = !$mvForwardSpeed;
    }
}

Code: [Select]
if(!moveforward(0))

um that doesn't work, moveforward() is used for actually moving your player forward and will not return a value when you use it in a test.
You need to have some sort of variable memory



failbin?
Auto pilot controls at least altitude, it's just the wrong name.

Not downloading but very nice work 6/10

Auto pilot controls at least altitude, it's just the wrong name.
This is more of a Cruise Control.

This is auto-pilot.

Well, what this does really makes the player go forward, for example, when your maybe in a plane and you want to rest, just get this mod and it will do it for you. Or if you want to talk while going forward.