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 WaterVolume extends PhysicsVolume; var string EntrySoundName, ExitSoundName, EntryActorName, PawnEntryActorName; function PostBeginPlay() { Super.PostBeginPlay(); if ( (EntrySound == None) && (EntrySoundName != "") ) EntrySound = Sound(DynamicLoadObject(EntrySoundName,class'Sound')); if ( (ExitSound == None) && (ExitSoundName != "") ) ExitSound = Sound(DynamicLoadObject(ExitSoundName,class'Sound')); if ( (EntryActor == None) && (EntryActorName != "") ) EntryActor = class<Actor>(DynamicLoadObject(EntryActorName,class'Class')); if ( (PawnEntryActor == None) && (PawnEntryActorName != "") ) PawnEntryActor = class<Actor>(DynamicLoadObject(PawnEntryActorName,class'Class')); } defaultproperties { EntrySoundName="PlayerSounds.FootstepWater1" ExitSoundName="GeneralImpacts.ImpactSplash2" EntryActorName="xGame.WaterSplash" PawnEntryActorName="xGame.WaterRing" FluidFriction=2.400000 bWaterVolume=Wahr bDistanceFog=Wahr DistanceFogColor=(B=128,G=64,R=32,A=64) DistanceFogStart=8.000000 DistanceFogEnd=2000.000000 KExtraLinearDamping=2.500000 KExtraAngularDamping=0.400000 LocationName="under water" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |