Airbase tweak.
Re: Airbase tweak.
Works great. 117 is the sweet spot
Code: Select all
$TeamItemCount[%team @ %item]++;
Anni::Echo("MSG: ",%client," deployed an Air Base");
Client::sendMessage(%client,0,%item.description @ " deployed and teleported to!~wteleport2.wav"); //150
%ppos = Vector::add(GameBase::getPosition(%player), "0 0 117"); //adding ghosts example code to set a player on the air base they deployed -death666
GameBase::setPosition(%client,%ppos);
Item::setVelocity(%client,"0 0 0");
// playSound(SoundPickupBackpack,$los::position);
return true;
Re: Airbase tweak.
Might want to set velocity to "0 0 0", too...
Not everyone is standing still when they deploy an airbase, and if the aren't, they could easily slide right off, or possibly get collision damage..
Or maybe you want that to happen, I dunno.
Not everyone is standing still when they deploy an airbase, and if the aren't, they could easily slide right off, or possibly get collision damage..
Or maybe you want that to happen, I dunno.
Re: Airbase tweak.
good stuff death. you can add that in the drop box if you want. ill get it on with next update this next week.
Re: Airbase tweak.
My B... I read that code on my phone during the super bowl... Must have skipped that line.