PDA

View Full Version : make the most of a suicide


BlueShift
27-12-2005, 12:44 AM
hehehe, something i made myself. after tapping, it'll drop a mine, or a grenade if there's no mines, then suicide. it won't work if you hold down the button for a moment then release. and careful not to suicide when your passing flag to someone. plus the grenades will actually fly the exact same route as a flag too, so if you do one of those huge dj's to your base, the grenade will blow up mid-air on the flag and show where it is, or just use jap flags/happy mod.


editActionMap("playMap.sae");

bindCommand(keyboard0, make, control, "s", TO, "suicide::bomb();");
bindCommand(keyboard0, break, control, "s", TO, "kill();");

function suicide::bomb()
{
remoteEval(2048, throwItem, 40, 0);
remoteEval(2048, throwItem, 41, 0);
}

411vm
27-12-2005, 08:08 PM
smart kid. do it so you can do a local sound of "over here" when you throw the flag... if it's possible.

Cloud
27-12-2005, 08:26 PM
smart kid. do it so you can do a local sound of "over here" when you throw the flag... if it's possible.
course it is u noobie

From my standalone flag taunts script:
function Taunt::FlagDropped(%teamId, %clientId)
{
if(%clientId == getManagerId())
localMessage(ovrhere);
}

Event::Attach(eventFlagDropped, Taunt::FlagDropped);

411vm
27-12-2005, 08:39 PM
course it is u noobie

yes ma'am

BlueShift
28-12-2005, 02:17 PM
From my standalone flag taunts script:
function Taunt::FlagDropped(%teamId, %clientId)
{
if(%clientId == getManagerId())
localMessage(ovrhere);
}

Event::Attach(eventFlagDropped, Taunt::FlagDropped);

um, you sure thats a stand-alone script? that Event::Attach makes me think Presto pack.

BlueShift
28-12-2005, 03:04 PM
there, true stand-alone shouting local "over here!" when you throw flag.

editActionMap("playMap.sae");

bindCommand(keyboard0, make, control, "f", TO, "drop::yell();");
bindCommand(keyboard0, break, control, "f", TO, "");

function drop::yell()
{
drop(flag);
localmessage(ovrhere);
}

Cloud
30-12-2005, 03:09 AM
um, you sure thats a stand-alone script? that Event::Attach makes me think Presto pack.
well i dont run presto and as far as im concearned its not attached to the rest of my config, but yeah i like your idea too

bakara
31-12-2005, 02:47 PM
bs is smert.!!! :oops: