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

42 lines
542 B
Ucode

class a_DebugActor extends a_ActorBase;
// var KFPlayerController pc;
var HideMutInteraction hmi;
var int counter;
// function startSpam(KFPlayerController inPc)
function startSpam()
{
// pc = inPc;
setTimer(0.001, true);
}
function timer()
{
counter++;
hmi.buyAmmo();
hmi.buyKevlar();
hmi.buyHP();
if (counter > 1000)
{
setTimer(0.00, false);
Termination();
}
}
// self cleanup
function Termination()
{
hmi = none;
super.Termination();
}
defaultproperties
{
}