I am trying to display a HUD message in the Fortnite UEFN (Verse) script, but even when HudDevice.Show() is executed, the UI is not displayed on the screen.
The code is as follows: Problem with HUD not displaying in Fortnite Creative Verse script (HudDevice.Show() not working)
Print(‘hello’) is displayed, so it is definitely in the else block.
I would appreciate your advice.
Thank you in advance.
ButtonSpawn1A(Agent:agent): void=
Print("hi")
set WeightOfPoint1A = PlayerWeightOfThisPoint1A + CaptureWeightOfThisPoint1A
if(WeightOfPoint1A > 0.0):
if(FortCharacter := Agent.GetFortCharacter[]):
Print("hello")
Transform := FortCharacter.GetTransform()
Rotation := Transform.Rotation
if(FortCharacter.TeleportTo[vector3{X:=11552.000000,Y:=-1558.000000,Z:=3206.000000},Rotation.ApplyYaw(0.0)]):
else:
Print("hello")
HudDevice.Show()