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

U2.DamageTypeDrowned


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
//=============================================================================
// $Workfile: DamageTypeDrowned.uc $
// Created By: Mike Fox
// Created On: 4/17/01
// $Author: Mbaldwin $
// $Date: 9/04/02 2:14p $
// $Revision: 2 $
//=============================================================================
class DamageTypeDrowned extends DamageTypeImpl
	abstract;


static function HandleDamageEffect( Actor A, float Damage, vector HitLocation )
{
	if( Pawn(A) != None && Pawn(A).PhysicsVolume.bWaterVolume )
	{
		A.Spawn( class'BubbleSpawner', A, /*Tag*/, A.Location, A.Rotation );
	}
}

defaultproperties
{
	DeathString="%o was drowned by %k."
	FemaleSuicide="%o forgot to come up for air."
	MaleSuicide="%o forgot to come up for air."
	GibModifier=0.000000
     UseReticleOnEvents(0)="UseReticleText"
     UseReticleOnEvents(1)="UseReticleCorners"
     UseReticleOnEvents(2)="UseReticleTopBars"
     ProximityReticleOnEvents(0)="ProximityReticleCorners"
     ProximityReticleOnEvents(1)="ProximityReticleTopBars"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:42.000 - Creation time: sk 3-1-2016 10:48:37.983 - Created with UnCodeX