Height Meter For Only Up Maps
162,746 Views
-
using { /Fortnite.com/Devices } using { /Fortnite.com/Characters } using { /Fortnite.com/UI } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } using { /UnrealEngine.com/Temporary/UI } using { /UnrealEngine.com/Temporary/SpatialMath } height_display := class(creative_device): @editable GroundLevelOffset: float = 0.0 @editable Text: string = "Height: " @editable TextPosition: text_position = text_position.UpperCenter var DisplayMap: [player]?height_widget = map{} OnBegin<override>()<suspends>:void= Sleep(0.0) CheckForPlayers() CheckForPlayers()<suspends>: void = loop: Sleep(1.0) AllPlayers := GetPlayspace().GetPlayers() for (Player : AllPlayers): HeightWidgetInstance := height_widget{VerseDevice := Self, InstancePlayer := Player} PlayerHeight := GetHeight(Player) if (not DisplayMap[Player], set DisplayMap[Player] = option{HeightWidgetInstance}): HeightWidgetInstance.CreateUIForPlayer(PlayerHeight) if (Agent := agent[Player]): HeightWidgetInstance.ShowUI(Agent)
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.