How can I make my custom Verse method appear in the UEFN Details panel?
I’m experimenting with creating a minimal Verse device in UEFN. As part of this, I defined a simple public method called test_function_call in my custom device like this:
verse
using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
minimal_device := class(creative_device):
TestFunctionCall<public>() : void =
Print("TestFunctionCall method called")
After building the project and adding the device to my level, TestFunctionCall does not show up in Details panel for the device. I would like it to show up at the details panel so I can make it so that other devices can call it. I want the behavior the NPC spawner has where you assign who calls its “spawn” method via the details panel.
Is there something I’m missing about how to make a custom Verse method assignable in the Details panel for my minimal device?
This screenshot shows what I’m trying to achieve in my own verse device. The Epic Developer AI told me to use the solution I posted earlier in the “minimal_device” but that does work.
.
.
Here is my entire details panel of the minimal_device
Unfortunately you CAN’T do that. Direct Event Binding only works between the fortnite creative devices. If you want to eg receive the spawn event from an npc_spawner that then triggers a function inside your verse device you’d have to do something like this and then connect the NPCSpawner to the “MyNPCSpawner” value