1
0
KF2-Dev-Scripts/Engine/Classes/DynamicTriggerVolume.uc
2020-12-13 18:01:13 +03:00

40 lines
737 B
Ucode

/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
/**
* This is a movable trigger volume. It can be moved by matinee, being based on
* dynamic objects, etc.
*/
class DynamicTriggerVolume extends TriggerVolume
showcategories(Movement)
placeable;
/** Is the volume enabled by default? */
var() bool bEnabled;
/**
* Overriden to set the default collision state.
*/
simulated event PostBeginPlay()
{
Super.PostBeginPlay();
SetCollision(bEnabled, bBlockActors);
}
defaultproperties
{
bStatic=false
bAlwaysRelevant=true
bReplicateMovement=true
bOnlyDirtyReplication=true
RemoteRole=ROLE_None
bColored=true
BrushColor=(R=100,G=255,B=255,A=255)
bEnabled=true
}