I am trying to change JumpZ and GroundSpeed of the pawn but nothing happens when it's called.
static function ModifyPlayer(Pawn Other)
{
Other.JumpZ = 0.1;
Other.GroundSpeed = 0.1;
}
I know the function is being called because when I put Other.HeadScale in there, the head size of the character changes. But jump and speed don't change at all.
Essentially it's just an additional !RTD that will temporarily change jump and speed.
Is there another way to change these variables? Or am I trying to change the correct variables?
static function ModifyPlayer(Pawn Other)
{
Other.JumpZ = 0.1;
Other.GroundSpeed = 0.1;
}
I know the function is being called because when I put Other.HeadScale in there, the head size of the character changes. But jump and speed don't change at all.
Essentially it's just an additional !RTD that will temporarily change jump and speed.
Is there another way to change these variables? Or am I trying to change the correct variables?