Download

Newbie question... how to change "MaxWalkSpeed" value?

Sorry for the question, I’m very very new in C++.

I’m trying to change the value of “MaxWalkSpeed??” which is in the properties of the Pawn. I have tried with this:

MaxWalkSpeed = 600f;
or
CharacterMovement.MaxWalkSpeed = 600f;
or
AGAMECharacter->CharacterMovement.MaxWalkSpeed = 600f;
or
const FFloat16 MaxWalkSpeed = 600;
AddMovementInput(MaxWalkSpeed, Value);

and none works.

Edit: Solved: CharacterMovement->MaxWalkSpeed = 600.f;