Navigation
API > API/Editor > API/Editor/BlueprintEditorLibrary > API/Editor/BlueprintEditorLibrary/UBlueprintEditorLibrary
Description
Creates an event-override node in the Blueprint's event graph for an inherited event-shape function.
If an event node for this function already exists on the Blueprint it is returned unchanged. Fails (returns nullptr) when the function is not an event-shape overridable on this Blueprint, when no event graph exists, or when the Blueprint is invalid.
| Name | AddEventOverride |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintEditorLibrary/Public/BlueprintEditorLibrary.h |
| Include Path | #include "BlueprintEditorLibrary.h" |
| Source | /Engine/Source/Editor/BlueprintEditorLibrary/Private/BlueprintEditorLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Blueprint Editor")
static UK2Node_Event * AddEventOverride
(
UBlueprint * Blueprint,
FName EventName,
FIntPoint Position
)
The event-override node, or nullptr if it could not be created.
Parameters
| Name | Remarks |
|---|---|
| Blueprint | The blueprint to add the event override to |
| EventName | Name of an inherited overridable event-shape function. |
| Position | Position for the new node in the event graph. |