If you want to reverse the control, so that you Walk by default instead of run by default, in YourPlayerController:PHP Code:
// This uses the Pawn version of SetWalking instead of UTPawn
event SetWalking( bool bNewIsWalking )
Now, in YourPawn's defaultproperties, you set GroundSpeed= to the maximum run speed, and you set WalkingPct= a floating point percentage (between 0.00 and 1.00) that will be percent of the groundspeed that is used when walking.PHP Code:
// inverse the default meaning of the Run button
if ( Pawn != None )
Pawn.SetWalking( bRun == 0 );
You may also want to set bCanWalkOffLedges=True otherwise when walking, you will not be able to fall off ledges with drops larger than small stairs.