Added comments on what next to do for merchant

This commit is contained in:
MH261677 2022-11-10 11:56:19 +00:00
parent fb981ce2d6
commit 38ab588226

View File

@ -48,6 +48,12 @@ void ATempCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputCompo
PlayerInputComponent->BindAction("Interact", IE_Pressed, this, &ATempCharacter::KeyPressed); PlayerInputComponent->BindAction("Interact", IE_Pressed, this, &ATempCharacter::KeyPressed);
} }
/*
TODO:
Make custom bool for pressed interact in trigger
Make custom bool for when player enters the trigger its set to true
Make if statement if both flags are true then dilouge box pops up
*/
void ATempCharacter::KeyPressed(FKey Interact) void ATempCharacter::KeyPressed(FKey Interact)
{ {
UE_LOG(LogTemp, Display, TEXT("Interact key is being pressed")); UE_LOG(LogTemp, Display, TEXT("Interact key is being pressed"));