27 lines
525 B
Ucode
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
|
|
}
|