Download scripts/5_Mission/DayZ/GUI/LoadingMenu.c from FelonieZ/DayZ_Scripts: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/5_Mission/DayZ/GUI/LoadingMenu.c
- Command line
-
hf download hf://datasets/FelonieZ/DayZ_Scripts/scripts/5_Mission/DayZ/GUI/LoadingMenu.c
-
curl -L -o LoadingMenu.c https://huggingface.co/datasets/FelonieZ/DayZ_Scripts/resolve/main/scripts/5_Mission/DayZ/GUI/LoadingMenu.c
935 Bytes
| class LoadingMenu extends UIScriptedMenu | |
| { | |
| void LoadingMenu() | |
| { | |
| } | |
| void ~LoadingMenu() | |
| { | |
| } | |
| override Widget Init() | |
| { | |
| layoutRoot = GetGame().GetWorkspace().CreateWidgets("gui/layouts/loading.layout"); | |
| m_label = TextWidget.Cast( layoutRoot.FindAnyWidget("TextWidget") ); | |
| m_progressBar = ProgressBarWidget.Cast( layoutRoot.FindAnyWidget("ProgressBarWidget") ); | |
| m_image = ImageWidget.Cast( layoutRoot.FindAnyWidget("ImageBackground") ); | |
| m_image.LoadImageFile( 0, GetRandomLoadingBackground() ); | |
| layoutRoot.FindAnyWidget("notification_root").Show(false); | |
| Widget exp_notifiaction = layoutRoot.FindAnyWidget("notification_root"); | |
| if (exp_notifiaction) | |
| { | |
| exp_notifiaction.Show(true); | |
| } | |
| return layoutRoot; | |
| } | |
| TextWidget m_label; | |
| ProgressBarWidget m_progressBar; | |
| ImageWidget m_image; | |
| } | |