UE1 - UT kick versus logout

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Rajada

Member
Jan 21, 2008
213
0
16
rajada.tumblr.com
I have a custom gametype and in it I put, among other things, this:

Code:
function Logout(pawn Exiting)
	{
	local CTOrb CO;
	
	foreach AllActors(Class'CTOrb', CO)

	if ( Exiting == CO.Owner )
	{
		CO.GoToState('InBase');
		CO.ReturnOrb(None,CF);
	}	
	Super.Logout(Exiting);
}


But the CTOrb is destroyed anyway and lost for good if I kick a bot holding it. Is there a difference between willingly exiting the game and being 'kicked' or do they call the same function and its just something wrong with my code.