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

U2.FlameDamageNotifier


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
//=============================================================================
// FlameDamageNotifier.uc
//=============================================================================

class FlameDamageNotifier extends ActorCollisionNotifier;

var()	int					Damage;
var()	class<DamageType>	DamageType;

//-----------------------------------------------------------------------------

event NotifyPenetratingActor( Actor Other, int NumParticles, vector Origin )
{
	Other.TakeDamage( Damage*NumParticles, Instigator, Origin, Vect(0,0,0), DamageType );
}

//-----------------------------------------------------------------------------

defaultproperties
{
	Damage=1
	DamageType=Class'U2.DamageTypeThermal'
}

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:38.850 - Created with UnCodeX