Gah - a solution with more questions. – EntropicLqd

Legacy:ForceScoreReset

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Just a nice bit of code if you ever want to reset the Team Scores of an Assault game

//=============================================================================
// ASForceScoreReset.
//=============================================================================
class ASForceScoreReset extends Triggers
	placeable;
 
function Trigger( actor Other, pawn EventInstigator )
{
	ASGameInfo(Level.Game).Teams[0].Score = 0;
	ASGameInfo(Level.Game).Teams[1].Score = 0;
}

All you have to do is trigger this when to round begins (a scripted trigger with a trigger event as its first value will do) or just set the objects tag to BeginRound (not tested)