Cat_SeqAct_AddTimeToTimer

#Kismet

Add time to timer minimissions without the clock pickup!

Use this if you want to add time to timer minimissions without needing to pick up those clock collectible things! Doesn't do any of the fancy effects the clocks do or anything though, this just adds time. It's just drag and drop in your classes folder and it'll work, find it in the Objective tab in the Kismet Actions! Made by CatCube! Enjoy!

Cat_SeqAct_AddTimeToTimer.uc

[RAW] [Download]

class Cat_SeqAct_AddTimeToTimer extends SequenceAction;
 
var() float Amount;
 
event Activated()
{
    local Hat_MiniMissionTimeLimit_Base m;
 
    Super.Activated();
 
    m = Hat_MiniMissionTimeLimit_Base(Hat_GameMissionManager(GetWorldInfo().game).GetMiniMission(class'Hat_MiniMissionTimeLimit_Base', true));
 
    m.AddTime(Amount);
}
 
defaultproperties
{
    Amount = 20.0;
 
    ObjName="Add Time To Timer"
    ObjCategory="Objective"
    bCallHandler=false;
    bAutoActivateOutputLinks=true;
 
    VariableLinks.Empty;
}