rott/kf_sources/GamePlay/Classes/BlockedPath.uc
2026-07-14 20:27:09 +07:00

31 lines
571 B
Ucode

//=============================================================================
// BlockedPath.
//
//=============================================================================
class BlockedPath extends NavigationPoint
placeable;
var bool bStartBlocked;
function PostBeginPlay()
{
bStartBlocked = bBlocked;
Super.PostBeginPlay();
}
function Reset()
{
Super.Reset();
bBlocked = bStartBlocked;
}
function Trigger( actor Other, pawn EventInstigator )
{
bBlocked = !bBlocked;
}
defaultproperties
{
bBlocked=true
bBlockable=true
}