![]() |
|
Drop things to the ground? - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Drop things to the ground? (/Thread-Drop-things-to-the-ground.html) |
Drop things to the ground? - alistair3149 - 12-01-2010 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) RE: Drop things to the ground? - alistair3149 - 12-02-2010 Can anyone answer me plz? RE: Drop things to the ground? - d0h! - 12-02-2010 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 RE: Drop things to the ground? - alistair3149 - 12-02-2010 (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 somethingi have seen something like this in mp_radiation.gsc...i think this can drop something randomly on the ground like raining |