ItsMods

Full Version: Drop things to the ground?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yep...Another question...I am boring so I keep surfing the code in BO and I find this:

Code:
dropAllToGround( origin, radius, stickyObjectRadius )
{
    PhysicsExplosionSphere( origin, radius, radius, 0 );
    wait(0.05);
    maps\mp\gametypes\_weapons::dropWeaponsToGround( origin, radius );
    // grenades are now done in code when an entity they were on gets deleted
//    maps\mp\gametypes\_weapons::dropGrenadesToGround( origin, radius );
    maps\mp\gametypes\_supplydrop::dropCratesToGround( origin, radius );
    level notify( "drop_objects_to_ground", origin, stickyObjectRadius );
}

As you see, you can drop anything to the ground(My thought)
Can anyone answer me plz?
i think you can specify all kind of stuff with this, example on how long a carpackage is useable until it disappears/used or something
(12-02-2010, 11:41)d0h! Wrote: [ -> ]i think you can specify all kind of stuff with this, example on how long a carpackage is useable until it disappears/used or something
i have seen something like this in mp_radiation.gsc...i think this can drop something randomly on the ground like raining