//=============================================================================
// 
//=============================================================================
class JailExitTrigger extends Trigger;

var(events) Name CellName;
var bool bInUse;
var deusexplayer player;

function Trigger(Actor Other, Pawn Instigator)
{
	local DeusExPlayer player;
	local JailTimerTrigger trig;

	if (Instigator.IsA('DeusExPlayer'))
	{
		player = DeusExPlayer(Instigator);

		foreach Allactors (class'JailTimerTrigger', trig)
		{
			if(trig.CellName == CellName)
			{
				if (trig.Player == DeusExPlayer(Instigator))
				{
					trig.Player = None;
					Super.Trigger(Other, Instigator);
				}
			}
		}
	}	
}


defaultproperties
{

}
