Code: Select all
/* ReplaceWith()
Call this function to replace an actor Other with an actor of aClass.
*/
function bool ReplaceWith(actor Other, string aClassName)
{
local Actor A;
local class<Actor> aClass;
if ( Other.IsA('Inventory') && (Other.Location == vect(0,0,0)) )
return false;