| Home Page | Recent Changes

CloudZone

Actor >> Info (UT) >> ZoneInfo >> CloudZone

A cloud zone kills Pawn (UT)s and destroys other Actors which enter the zone. In most cases the cloud zone is used to destroy Projectile (UT)s before they hit a fake backdrop.

Extreme care must be taken to make sure in CTF or other games in which there is a moving actor that is needed in the game to make sure that it never comes in contact with a CloudZone. In the case of a flag, it is removed from the game and one team can't pick up, the other can't finish the cap, and, well, the game essentially dies. Test and retest this.

Also, keep in mind that a CloudZone kills spectators/players ghosting too! This can be both extremely annoying and ruinous to a map's desirability. In general, some kind of zone (a VacuumZone for instance), should be placed to block off the CloudZone.

class CloudZone extends ZoneInfo;

event ActorEntered( actor Other )
{
  if ( Other.IsA('Pawn') )
    Pawn(Other).Died(Pawn(Other).Enemy, 'Fell', Location);
  else      
    Other.Destroy();
}

defaultproperties
{
}

Comments

Raven: You can also look at MCloudZone class to override disappearing flag in CTF.

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In