1
0
KF2-Dev-Scripts/Engine/Classes/TriggerVolume.uc

42 lines
745 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class TriggerVolume extends Volume
native
placeable;
cpptext
{
#if WITH_EDITOR
virtual void CheckForErrors();
#endif
}
simulated event PostBeginPlay()
{
Super.PostBeginPlay();
// match bProjTarget to weapons (zero extent) collision setting
if (BrushComponent != None)
{
bProjTarget = BrushComponent.BlockZeroExtent;
}
}
simulated function bool StopsProjectile(Projectile P)
{
return false;
}
defaultproperties
{
bColored=true
BrushColor=(R=100,G=255,B=100,A=255)
bCollideActors=true
bProjTarget=true
SupportedEvents.Empty
SupportedEvents(0)=class'SeqEvent_Touch'
SupportedEvents(1)=class'SeqEvent_TakeDamage'
}