Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 |
class TarZone extends ZoneInfo; #exec AUDIO IMPORT FILE="..\UnrealShare\Sounds\Generic\GoopE1.wav" NAME="LavaEx" GROUP="Generic" #exec AUDIO IMPORT FILE="..\UnrealShare\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; } defaultproperties { ZoneFluidFriction=4.000000 ZoneTerminalVelocity=250.000000 EntrySound=Sound'UnrealShare.Generic.LavaEn' ExitSound=Sound'UnrealShare.Generic.LavaEx' bWaterZone=True ViewFlash=(X=-0.390000,Y=-0.390000,Z=-0.390000) ViewFog=(X=0.312500,Y=0.312500,Z=0.234375) EFXAmbients=REVERB_PRESET_SMALLWATERROOM } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |