ButtDart
02-12-2003, 09:31 AM
Anyone have one? I tried with the little C++ knowledge that I have, to no avail. The Presto one, for some reason, is buggy. The character sometimes seems to go to full mouse sensitivity. It corrects itself but its pretty annoying. Well any help is appreciated.
EditActionmap("playmap.sae");
bindCommand(mouse0, make, button1, TO, "Jet::Start();");
bindCommand(mouse0, break, button1, TO, "Jet::Stop();");
function Jet::Start()
{
postAction(2048, IDACTION_MOVEUP, 1);
postAction(2048, IDACTION_JET, 1);
}
function Jet::Stop()
{
postAction(2048, IDACTION_JET, 0);
}
unless of course jumpjet to you means something different?
Runar
02-12-2003, 09:52 AM
Toggleable and won't jump when in vehicles.
// ========================= ===============
// JumpJet
// ========================= ===============
// Default On or Off
$Jet::Jump = "True";
// Don't touch this line
editActionmap("playmap.sae");
// * Jump & Jet, jump before you jet.
bindCommand(mouse0, make, button1, TO, "Jet::Start();");
bindCommand(mouse0, break, button1, TO, "Jet::Stop();");
// * Jet & Jump Toggle
bindCommand(keyboard0, make, shift, "space", TO, "Jet::Toggle();");
bindCommand(keyboard0, break, shift, "space", TO, "");
function Jet::Start()
{
if(getMountedItem(0) != -1 && $Jet::Jump)
{
postAction(2048, IDACTION_MOVEUP, 1);
postAction(2048, IDACTION_JET, 1);
}
else
{
postAction(2048, IDACTION_JET, 1);
}
}
function Jet::Stop()
{
postAction(2048, IDACTION_JET, 0);
}
function Jet::Toggle()
{
$Jet::Jump = !$Jet::Jump;
if($Jet::Jump)
{
remoteBP(2048, "<JC><F2>Jet & Jump set to: <F1>ON", 2);
}
else
{
remoteBP(2048, "<JC><F2>Jet & Jump set to: <F0>OFF", 2);
}
}
Originally posted by Rosco-SS
Stop showin off Runar ;)
owned :lol:
Runar
02-13-2003, 11:53 AM
Check the time on the posts.. I didn't know Dutchy posted :p
leetdemon
02-23-2003, 10:36 AM
cool script easy enough yet very efffective.