1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

player handedness

Discussion in 'Programming' started by elffum, Nov 24, 2001.

  1. elffum

    elffum New Member

    Joined:
    Oct 23, 2001
    Messages:
    43
    Likes Received:
    0
    anyone know where the players handedness is stored? can't seem to find it anywhere...
     
  2. Raeled

    Raeled Feuer Frei!

    Joined:
    Jul 1, 2001
    Messages:
    161
    Likes Received:
    0
    in playerpawn

    var travel globalconfig float Handedness;
     
  3. elffum

    elffum New Member

    Joined:
    Oct 23, 2001
    Messages:
    43
    Likes Received:
    0
    thanks, didn't see it cos i was looking for Hand, like in the weapon code... doh!
     
  4. TaoPaiPai

    TaoPaiPai Commisaire Van Loc

    Joined:
    Jun 13, 2000
    Messages:
    1,626
    Likes Received:
    0
    copied from the playrpawn class
    Code:
    01994	exec function SetHand( string S )
    01995	{
    01996		ChangeSetHand(S);
    01997		SaveConfig();
    01998	}
    01999	
    02000	function ChangeSetHand( string S )
    02001	{
    02002		if ( S ~= "Left" )
    02003			Handedness = 1;
    02004		else if ( S~= "Right" )
    02005			Handedness = -1;
    02006		else if ( S ~= "Center" )
    02007			Handedness = 0;
    02008		else if ( S ~= "Hidden" )
    02009			Handedness = 2;
    02010		ServerSetHandedness(Handedness);
    02011	}
    
    the numbers are from Undox :)
     

Share This Page