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

UPak.DyingTrigger


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
//=============================================================================
// DyingTrigger.
//=============================================================================
class DyingTrigger expands KillTrigger;

function Triggered( actor Other, pawn EventInstigator )
{
	local Pawn P;
	
	foreach allactors( class'Pawn', P, KillTag )
		P.TakeDamage( P.Health*1.5, EventInstigator, P.Location, vect( 0, 0, 0 ), 'TriggeredDeath' );
}

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: zo 11-11-2012 21:10:30.000 - Creation time: zo 11-11-2012 21:14:18.350 - Created with UnCodeX