I’m still blocking on this problem, this time for registering a binding. No matter what Key I try to register. I even tried to remove the full config folder in the saved folder of my project, it doesn’t change anything.
[Engine.PlayerInput]
+ActionMappings=(ActionName="Jump", Key=SpaceBar)
+ActionMappings=(ActionName="Jump", Key=XboxTypeS_A)
+ActionMappings=(ActionName="exitgame", Key=Escape)
and
void AEXILCharacter::SetupPlayerInputComponent(class UInputComponent* InputComponent)
{
Super::SetupPlayerInputComponent(InputComponent);
BIND_ACTION(InputComponent, "Jump", IE_Pressed, &AEXILCharacter::OnStartJump);
BIND_ACTION(InputComponent, "Jump", IE_Released, &AEXILCharacter::OnStopJump);
BIND_ACTION(InputComponent, "exitgame", IE_Pressed, &AEXILCharacter::ExitGame);
BIND_ACTION(InputComponent, "exitgame", IE_Released, &AEXILCharacter::ExitGame);
}
void AEXILCharacter::ExitGame()
{
elog("Exit");
}
My log function is never called. It’s starting to be very annoying to work. :'|