Page 1 of 1

God Zone

PostPosted: Mon Aug 14, 06 12:18 am
by Ayleth
How do i Make a god zone? This will be for a spawn room.

PostPosted: Mon Aug 14, 06 8:40 am
by Dae
SafeZone from DarkForce1

Code: Select all
class SafeZone extends ZoneInfo;

event ActorEntered( actor Other )
{
Super.ActorEntered(Other);

if(Other.isA('Pawn'))
   Pawn(Other).ReducedDamageType = 'All';
}

event ActorLeaving( actor Other )
{
Super.ActorLeaving(Other);

if(Other.isA('Pawn'))
   Pawn(Other).ReducedDamageType = '';
}
defaultproperties
{
}