Calling Custom Events
Your Custom Event and its associated network have been created, but unlike regular Events, there are no preset conditions for the Custom Event to fire. To call your Custom Event, Right-click and choose Call Function > [Custom Event Name] from the context menu.
Any input parameters that were set up on the Custom Event will appear as input data pins in the new node so that they can be passed into the Custom Event. Connect any input data pins with data wires to variables or other data pins as needed.
Unlike regular Events, which can only be called once per graph per Event type, you can call a Custom Event multiple times throughout a graph. In this way, Custom Events allow branching of multiple
execution outputs to a single execution input without needing to directly connect wires.
In this example, if the IsSuccess boolean variable is false, an error message will be printed. This graph has the same function as wiring the Print String node in sequence after the Branch node,
but with the added functionality that other sections of the graph can utilize the Print String node, and the two network sections do not have to be located near each other in the graph.