God Zone

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

God Zone

Postby Ayleth » Mon Aug 14, 06 12:18 am

How do i Make a god zone? This will be for a spawn room.
User avatar
Ayleth
Regular
 
Posts: 313
Joined: Sun Jul 09, 06 7:27 pm
Location: 6 feet under. and trying to get out!

Postby Dae » Mon Aug 14, 06 8:40 am

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
{
}
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 2 guests