This would be uber-handy for deleting unwanted/unused/extra items you have deployed during the map. would save the time of killing it yourself and if you're the type to take down your defense before leaving, it would save them an extra minute to find someone to give them a hug.
blankg
'Delete Deployable' function for builder armor
'Delete Deployable' function for builder armor
Lawlz wrote:I think everyone knows this since he posts pictures of himself after a fucked-up nights. XDS']['U wrote:DaJ4ck3L wrote:i love blank girl
You do know that blankgirl is a guy, right?
Re: 'Delete Deployable' function for builder armor
doesn't everyone love the old accidental jump pad trick?
Re: 'Delete Deployable' function for builder armor
I like this idea, simple to code, too.
Step 1) Modify pitchfork boost function (I forget the function name).
Step 2)
This will work if you or an enemy deployed the object. Maybe admins should be able to do it too, and maybe it should work on friendly objects that are not welded, too.
Step 3) No need to figure out if the shooter is wearing a pack if you just make him drop item. If he wants to pick it up, he can. The property "itemDataName" needs to be identified in each StaticShape data block, so the function knows which item to convert the Static Shape into.
Step 4)
Step 1) Modify pitchfork boost function (I forget the function name).
Step 2)
Code: Select all
if($los::object.deployer == %shooter || (GameBase::getTeam(%shooter) != GameBase::getTeam($los::object) && $los::object.deployer != ""))
Step 3)
Code: Select all
GameBase::throw(%shooter, newObject("", Item, GameBase::getDataName($los::object).itemDataName, false), 1); // or something like that...
Step 4)
Code: Select all
deleteObject($los::object);
Last edited by perrinoia on Wed May 21, 2014 1:05 pm, edited 1 time in total.
Re: 'Delete Deployable' function for builder armor
GameBase::($los::object)
^wat this do.
^wat this do.
Re: 'Delete Deployable' function for builder armor
Bump
Can we delete unwanted deployables yet? it's already 2014
blackgirl
Can we delete unwanted deployables yet? it's already 2014
blackgirl
Lawlz wrote:I think everyone knows this since he posts pictures of himself after a fucked-up nights. XDS']['U wrote:DaJ4ck3L wrote:i love blank girl
You do know that blankgirl is a guy, right?