37 lines
508 B
Ucode
37 lines
508 B
Ucode
class a_DebugActor extends Actor;
|
|
|
|
|
|
// 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);
|
|
destroy();
|
|
}
|
|
}
|
|
|
|
|
|
// simulated event destroyed()
|
|
// {
|
|
// super.destroyed();
|
|
// }
|
|
|
|
|
|
defaultproperties{} |