Did you manage to make it works i kinda want to make a simular thing ?
I am basically doing a power that move a premade vfx to the fort_character position and is being enabled for 10 seconds but it does not teleport and even activate there is the code :
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Fortnite.com/Characters }
using { /UnrealEngine.com/Temporary/SpatialMath }
powers := class(creative_device):
@editable SignalRemoteGrey : signal_remote_manager_device = signal_remote_manager_device{}
@editable VFXDevice : vfx_spawner_device = vfx_spawner_device{}
HandlePrimaryButton( P : agent) : void =
spawn:
StartEffect(P)
StartEffect(P: agent)<suspends> : void =
if (F := P.GetFortCharacter[]):
if (VFXDevice.TeleportTo[F.GetTransform().Translation, F.GetTransform().Rotation]):
VFXDevice.Enable
spawn:
EndEffect()
EndEffect()<suspends> : void =
Sleep(10.0)
VFXDevice.Disable
HandleSecondaryButton( P : agent) : void =
if (f := P.GetFortCharacter[]):
OnBegin<override>()<suspends>:void=
SignalRemoteGrey.PrimarySignalEvent.Subscribe(HandlePrimaryButton)
SignalRemoteGrey.SecondarySignalEvent.Subscribe(HandleSecondaryButton)
Would apreciate some help im very new to verse and uefn.