class spawnlocation extends mutator; var() int counter; event PreBeginPlay() { counter=0; } function ModifyPlayer(Pawn Other)//this function runs every time a player is “reset” { counter=counter+1; Log( "spawn = " $ counter); Log(Other.Location.X); Log(Other.Location.Y); Log(Other.Location.Z); Super.ModifyPlayer(Other); } defaultproperties { FriendlyName="Spawn Points" Description="please tell me whither I spawn" }