<P>		// return it.  Otherwise create a new goal
<P>
<P>		newGoal = FindGoal( goalName );
<P>		
<P>
<P>		if ( newGoal == None )
<P>		{
<P>			newGoal = new(Self) Class'DeusExGoal';
<P>			newGoal.SetName( goalName );
<P>
<P>			// Insert goal at the Top so goals are displayed in
<P>			// Newest order first.
<P>			if (FirstGoal == None)
<P>				LastGoal  = newGoal;
<P>			else
<P>				newGoal.next = FirstGoal;
<P>	
<P>			FirstGoal    = newGoal;
<P>	
<P>			newGoal.SetPrimaryGoal( bPrimaryGoal );
<P>	
<P>			ClientMessage(GoalAdded);
<P>			DeusExRootWindow(rootWindow).hud.msgLog.PlayLogSound(Sound'tnmLogGoalAdded');
<P>		}
<P>		else
<P>		{
