1
0
KF2-Dev-Scripts/KFGameContent/Classes/KFSM_PlayerAlpha_Rally.uc

26 lines
903 B
Ucode
Raw Permalink Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFSM_PlayerAlpha_Rally
//=============================================================================
// Player controlled alpha clot rally special move
//=============================================================================
// Killing Floor 2
// Copyright (C) 2016 Tripwire Interactive LLC
//=============================================================================
class KFSM_PlayerAlpha_Rally extends KFSM_AlphaRally;
protected function bool InternalCanDoSpecialMove()
{
return !KFPOwner.IsHeadless() && KFPOwner.IsAliveAndWell() && super.InternalCanDoSpecialMove();
}
static function byte PackFlagsBase( KFPawn P )
{
return class'KFSM_AlphaRally'.static.PackRallyFlags();
}
defaultproperties
{
bDisableSteering=true
bDisableMovement=true
bRallySelf=true
}