/** * Kismet action responsible for deleting all current act bits. * Useful for simulating a level reset. */ class Drew_SeqAct_DeleteAllActBits extends SequenceAction; event Activated() { local Hat_SaveGame SG; SG = Hat_SaveGame(class'Hat_SaveBitHelper'.static.GetSaveGame()); if (SG != None) { SG.ActBits.Length = 0; } } defaultproperties { ObjName = "Delete All Act Bits" ObjCategory = "Give me a custom category!" bCallHandler = false VariableLinks.Empty }