Cat_SeqAct_ResetDeathWish

#Kismet

Reset a deathwish via kismet without the need of the deathwish map!

Realized that if using my Play Deathwish Node there wasn't a way to reset that deathwish, well now there is! Please use responsibly! It's just drag and drop in your classes folder and it'll work, find it in the Level tab in the Kismet Actions! Made by CatCube! Enjoy!!

Cat_SeqAct_ResetDeathWish.uc

[RAW] [Download]

class Cat_SeqAct_ResetDeathWish extends SequenceAction;
 
/** Which DeathWish we want to reset */
var() class<Hat_SnatcherContract_DeathWish> DeathWishClass;
 
event Activated()
{
    if (DeathWishClass == None) return;
 
    Super.Activated();
 
    DeathWishClass.static.SoftResetObjectives();
}
 
defaultproperties
{
    ObjName="Reset Death Wish"
    ObjCategory="Level"
    bCallHandler=false;
    bAutoActivateOutputLinks=true;
 
    DeathWishClass = Hat_SnatcherContract_DeathWish;
 
    VariableLinks.Empty;
}