0 like 0 dislike
39 views
In the Layer Graph documentation page, it says that you can export an event that can be received in the game engine using PopcornFX. How is this accomplished? The documentation shows the event listed in the Effect Interface panel, but the "new attribute" button just lets you create values and samplers. I tried creating an OnDeath event with a corresponding output, and the output's Export values in the Properties panel look ok, but nothing appears in the Effect Interface panel.
by sjakab (140 points)

1 Answer

0 like 0 dislike
Hi Steven,

Events exported to the game engine are events links plugged into an "Output" event in the Layergraph (topmost graph), you can find more info here: https://www.popcornfx.com/docs/popcornfx-v2/nodegraph/layer-graph/

Note: The Output event node (Template Export) needs to have its ExportedType set to 'event' and Type 'Output', with a valid "ExportedName"

Cheers
by HugoPKFX (17.7k points)
...