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

27 lines
525 B
Ucode

//-----------------------------------------------------------
//
//-----------------------------------------------------------
class HoverPathNode extends RoadPathNode
native;
cpptext
{
virtual UBOOL NotReachableBy(APawn *P);
}
event int SpecialCost(Pawn Other, ReachSpec Path)
{
if ( Other.bCanFly || (Vehicle(Other) != None && Vehicle(Other).bCanHover) )
return 0;
return 100000000;
}
DefaultProperties
{
bForcedOnly=true
bSpecialForced=true
bNotBased=True
CollisionHeight=120
}