Imported Temp Greasy Rick Character with End Dialogue Functionality

This commit is contained in:
Rafal Swierczek 2024-03-21 15:01:21 +00:00
parent ba5250e62b
commit 09c18e07fa
34 changed files with 91 additions and 10 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3c071fc62bab3f36e25126e3c4d2f5480da97d0a74b58cc66e9bed79190cd79
size 70417

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8ab479df95c2cb7f6f6e2a50747f3e3c47ad70a236483703d518c47498173dc
size 22526

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8e3683ec5d7106ad74a95eca5910654b88dd2afd80e4024f9aaa46af55499a18
size 804499
oid sha256:3b3943c1c4918895a70b44d6d95650a4bfb36b00eb98983ced859f3dff70bd54
size 817216

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6a90a7b300adbf77b69016e54a3483cec9b900f19cda47be10923179fcd2c7de
size 293440913
oid sha256:fee7a250942ce460d6851543e00ef15040149aaad722bfa494ec81012a407846
size 293443366

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0a56993e787e3376de20030113bfdd35af9e53793d05502d00cb083e6160031
oid sha256:6ba7c7b0ee09a438907efbf237854bd39fe5510343e95c17dafbfdd69a70d79b
size 66790690

View File

@ -110,10 +110,10 @@ void UAC_PlayerDialogueInterpreter::MakeChoiceDialogue(const int Choice)
void UAC_PlayerDialogueInterpreter::EndDialogue()
{
OnEndDialogue.Broadcast(CurrentTextNode->Text);
CurrentChoiceNode = nullptr;
CurrentTextNode = nullptr;
CurrentCharacterSpeaking = FDialogueCharacter();
OnEndDialogue.Broadcast();
if (APlayerController* PlayerController = GetWorld()->GetFirstPlayerController())
{

View File

@ -24,7 +24,7 @@ public:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnChoiceDialogue, UDialogueChoiceNode*, ChoiceNode);
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnEndDialogue);
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnEndDialogue, FText, FinalText);
UPROPERTY(BlueprintAssignable, Category = "Dialogue")
FOnStartDialogue OnStartDialogue;