There's a delegate:
I add a function to it in another actor:
And call it accordingly (the call is made from the component in which the delegate was declared).
but when this delegate is called, the UpdateWorldMarker function is not called
Are you certain that you’re falling into the block of code where AddDynamic is executing?
I understand. A very stupid mistake.
protected:
virtual void BeginPlay() override;
void UpdateWorldMarker(FName QuestID, FQuestData QuestData);
protected:
virtual void BeginPlay() override;
UFUNCTION()
void UpdateWorldMarker(FName QuestID, FQuestData QuestData);
I forgot that DYNAMIC_MULTICAST delegates must have functions labeled UFUNCTION().
![]()
Thanks for help.
Nice work. Dang UFUNCTION gets you every time.
That’s right ![]()