From 38ab588226d35e39f2c66515da6ea83b58370e20 Mon Sep 17 00:00:00 2001 From: MH261677 Date: Thu, 10 Nov 2022 11:56:19 +0000 Subject: [PATCH] Added comments on what next to do for merchant --- Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp index adbb10e..af85bd7 100644 --- a/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp +++ b/Source/the_twilight_abyss/PlayerTemp/TempCharacter.cpp @@ -48,6 +48,12 @@ void ATempCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputCompo 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) { UE_LOG(LogTemp, Display, TEXT("Interact key is being pressed"));