8 static int m_ForcedIndex = -1;
13 protected string m_RootPath =
"Gui/layouts/new_ui/hints/in_game_hints.layout";
14 protected const string m_DataPath =
"scripts/data/hints.json";
37 DayZGame game = DayZGame.Cast(
GetGame());
79 ErrorEx(
"Could not create the hint panel. The data are missing!");
173 #ifdef DIAG_DEVELOPER
176 if (m_ForcedIndex != -1)
295 override void Init(DayZGame game)
297 m_RootPath =
"Gui/layouts/new_ui/hints/in_game_hints_load.layout";
void UiHintPanel(Widget parent_widget)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
static proto int Randomize(int seed)
Sets the seed for the random number generator.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].