Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UnrealI.TarZone


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
class TarZone expands ZoneInfo;

#exec AUDIO IMPORT FILE="Sounds\Generic\GoopE1.WAV" NAME="LavaEx" GROUP="Generic"
#exec AUDIO IMPORT FILE="Sounds\Generic\GoopJ1.WAV" NAME="LavaEn" GROUP="Generic"
//#exec AUDIO IMPORT FILE="Sounds\Generic\uGoop1.WAV" NAME="InGoop" GROUP="Generic"
//	 AmbientSound=InGoop

// When an actor enters this zone.
event ActorEntered( actor Other )
{
    Super.ActorEntered(Other);
    if ( Other.IsA('Pawn') && Pawn(Other).bIsPlayer )
        Pawn(Other).WaterSpeed *= 0.1;
}

// When an actor leaves this zone.
event ActorLeaving( actor Other )
{
    Super.ActorLeaving(Other);
    if ( Other.IsA('Pawn') && Pawn(Other).bIsPlayer )
        Pawn(Other).WaterSpeed *= 10;
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: za 22-4-2006 12:52:32.000 - Creation time: za 22-4-2006 12:53:47.265 - Created with UnCodeX