1
0
KF2-Dev-Scripts/KFGame/Classes/KFPlayerStart.uc

37 lines
909 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
//=============================================================================
// KFPlayerStart
//=============================================================================
// Class Description
//=============================================================================
// Killing Floor 2
// Copyright (C) 2015 Tripwire Interactive LLC
// - Author 2/10/2014
//=============================================================================
class KFPlayerStart extends PlayerStart;
/** Saves enabled state at map start for restore on reset */
var transient bool bDefaultEnabled;
function PreBeginPlay()
{
super.PreBeginPlay();
bDefaultEnabled = bEnabled;
}
function Reset()
{
super.Reset();
bEnabled = bDefaultEnabled;
}
defaultproperties
{
Begin Object NAME=CollisionCylinder
CollisionRadius=+0036.000000
CollisionHeight=+00086.000000
End Object
}