Updated Sisters Quest & Wrapped Text on Selections
This commit is contained in:
parent
2c22311c43
commit
3aca076981
BIN
Content/Assets/Characters/Merchant/AMerchant.uasset
(Stored with Git LFS)
BIN
Content/Assets/Characters/Merchant/AMerchant.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Blueprints/Quests/Quest_SistersPendant.uasset
(Stored with Git LFS)
BIN
Content/Blueprints/Quests/Quest_SistersPendant.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Dialogue/SM_Merchant_Blueprint.uasset
(Stored with Git LFS)
BIN
Content/Dialogue/SM_Merchant_Blueprint.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Dialogue/TextPrompt.uasset
(Stored with Git LFS)
BIN
Content/Dialogue/TextPrompt.uasset
(Stored with Git LFS)
Binary file not shown.
@ -96,7 +96,7 @@ void UDialogueNPC::NextDialogue()
|
||||
GetWorld()->GetTimerManager().PauseTimer(TextAnimationTimerHandle);
|
||||
DialogueText->SetText(FText::FromString(""));
|
||||
Choice1Button->SetVisibility(ESlateVisibility::Visible);
|
||||
Choice2Button->SetVisibility(ESlateVisibility::Visible);
|
||||
if (Choice2Text->GetText().ToString() != "") Choice2Button->SetVisibility(ESlateVisibility::Visible);
|
||||
if (Choice3Text->GetText().ToString() != "") Choice3Button->SetVisibility(ESlateVisibility::Visible);
|
||||
NextArrow->SetVisibility(ESlateVisibility::Hidden);
|
||||
return;
|
||||
|
@ -24,10 +24,6 @@ AInteraction::AInteraction()
|
||||
void AInteraction::BeginPlay()
|
||||
{
|
||||
Super::BeginPlay();
|
||||
|
||||
//Character & Camera refs
|
||||
TempCharacterRef = Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetCharacter());
|
||||
MainCamera = Cast<UCameraComponent>(TempCharacterRef->FindComponentByClass<UCameraComponent>());
|
||||
//Item refs
|
||||
|
||||
TargetHealingLocation = HealingItem->GetActorLocation();
|
||||
@ -91,6 +87,9 @@ void AInteraction::OnInteract()
|
||||
|
||||
void AInteraction::RemoveWidget()
|
||||
{
|
||||
//Character & Camera refs
|
||||
TempCharacterRef = Cast<ATempCharacter>(GetWorld()->GetFirstPlayerController()->GetCharacter());
|
||||
MainCamera = Cast<UCameraComponent>(TempCharacterRef->FindComponentByClass<UCameraComponent>());
|
||||
bDisableShopDialMove = true;
|
||||
bisDisabled = true;
|
||||
//Setting ShopWidgetText back to hidden
|
||||
|
Loading…
Reference in New Issue
Block a user