nicoplv
(nicoplv)
1
Summary
Since update 36.00, HideElementsForPlayer and ShowElementsForPlayer doesn’t work anymore.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- Create a verse file
- Use GetPlayspace().GetHUDController().HideElementsForPlayer(…) to hide some hud elements
Expected Result
The hud elements should be hidden
Observed Result
The hud elements are still visible
Platform(s)
Xbox, Luna
Additional Notes
Although the HideElements method works, but it doesn’t allow us to show or hide the HUD for a specific player.
Randomly sometime the HideElementsForPlayer works, but it’s rare
nicoplv
(nicoplv)
2
An example of a Verse device that doesn’t work:
hud_manager.verse (1.1 KB)
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Fortnite.com/UI }
using { /UnrealEngine.com/Temporary/Diagnostics }
hud_manager_device<public> := class(creative_device):
OnBegin<override>()<suspends> : void =
Sleep(3.0)
HUDController := GetPlayspace().GetHUDController()
for(mPlayer : GetPlayspace().GetPlayers()):
Print("UPDATE HUD")
var HUDElementsToHide : []hud_element_identifier = array:
creative_hud_identifier_all{}
player_hud_identifier_all{}
hud_identifier_world_resource_wood{}
hud_identifier_world_resource_stone{}
hud_identifier_world_resource_metal{}
hud_identifier_world_resource_permanite{}
hud_identifier_world_resource_gold_currency{}
hud_identifier_world_resource_ingredient{}
creative_hud_identifier_player_inventory{}
HUDController.HideElementsForPlayer(mPlayer, HUDElementsToHide)
#HUDController.HideElements(HUDElementsToHide)
1 Like
FORT-920921 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.
1 Like
Can confirm. Hiding HUD elements works fine but it won’t activate if trying to hide or show for specific players.
1 Like