as udkultimatepawn is the player I guess it is the only one in the game,if so then you can do this
var udkultimatepawn theultimateplayer;
function getthehero()
{
local udkultimatepawn theplayer;
foreach WorldInfo.Allpawns(class'udkultimatepawn , theplayer)
theultimateplayer=theplayer;
}
you then have theultimateplayer as a reference to the pawn to use throughout the script.