When using a delegate variable as a function parameter, dragging off of the delegate pin of an associated function BP node to create a custom event will create a default custom event without the input pin for the delegate variable.
1. Open Code based project
2. Add code to project based on Actor (MyActor)
3. In header file add the following:
a. above the UCLASS() macro:
DECLARE_DYNAMIC_DELEGATE_OneParam(FOnInitialized, bool, bSuccess);
b. Inside the class body:
UFUNCTION(BlueprintCallable, Category = "RemoteSystem")
void Initialize(FOnInitialized OnInitialized);
4. Compile
5. Create a blueprint based on MyActor (MyActorBP)
6. Add call to Initialize function in the Event Graph
7. Drag off of the red On Initialized pin of the function node
8. Create a custom event
Result:
Basic Custom event node is created with only an execution pin
Expected:
FOnInitialized Event node would be created with a boolean input pin
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Installer 4.10 failed with error code R-1603
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
An error occurred while trying to generate project files !?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-16352 in the post.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.7.6, 4.8 |
Target Fix | 4.9 |
Fix Commit | 2595677 |
---|
Created | May 29, 2015 |
---|---|
Resolved | Jun 22, 2015 |
Updated | Apr 27, 2018 |