You know how weapons disappear after a few seconds if you throw them away in MP? Well, how can I get that to work on a non-weapon item?
I've tried a couple of options to no avail. Help pl0x?
Moderator: Forum Guards
function BecomePickup()
{
Super.BecomePickup();
if (Level.NetMode != NM_Standalone)
if (bTossedOut)
Lifespan = 8.0;
}
Simulated Function PostBeginPlay()
{
If (Level.Netmode!=NM_StandAlone)
{
If (bTossedOut==True)
{
SetTimer(7.0,False)//No need for looping, the timer only needs to go once, then we'll be gone.
}
}
}
Function Timer()
{
Destroy();
}