Add Custom Event
Add a custom event to a Blueprint's event graph, with optional network flags. Reads whether the class actually replicates, because a Run On Server event on a non-replicating actor is dropped silently.
hf_add_custom_eventWriteArguments
| Name | Type | Description |
|---|---|---|
blueprintreq | string | Blueprint ASSET path, no _C suffix. |
eventreq | string | New event name. |
call_in_editor | boolean = false | |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
graph | string | Event graph to add it to. Defaults to the first one. |
reliable | boolean = false | Reliable RPCs are guaranteed and can saturate the channel; unreliable ones can be dropped. |
replication | string = none | none | multicast | run_on_server | run_on_owning_client |
x | integer = 0 | |
y | integer = 0 |
Related tools
Nearby in Blueprints and graphs:
- Add Blueprint Macro
- Add Blueprint Node
- Add Blueprint Timeline
- Add Blueprint Variable
- Add Graph Comment
- Audit Blueprints
- Compile Blueprint
- Connect Blueprint Pins
All 40 tools in Blueprints and graphs — 31 more not listed here.