57 {
58 int i = 0;
60 {
63
64 if (player)
65 {
66 vector pos = player.GetPosition();
67 vector screen_pos_stats =
g_Game.GetScreenPos(pos +
"0 0 0");
68 vector screen_pos_damage =
g_Game.GetScreenPos(pos +
"0 2 0");
69 m_RootWidget[i].SetPos(screen_pos_stats[0], screen_pos_stats[1]);
71
72 if (screen_pos_stats[2] > 0 && screen_pos_stats[0] > 0 && screen_pos_stats[1] > 0)
73 {
79 }
80 else
81 {
84 }
85
86 }
87 }
89 {
92 }
93 }
void UpdateDistanceWidget(int index, PlayerBase other_player)
void UpdateStatsWidget(int index, RemotePlayerStatDebug rpd)
void UpdateDamageWidget(int index, PlayerBase player)
ref Widget m_RootWidget[MAX_SIMULTANIOUS_PLAYERS]
ref array< ref RemotePlayerStatDebug > m_PlayerDebugStats
enum eRemoteDebugType MAX_SIMULTANIOUS_PLAYERS
ref Widget m_RootWidgetDamage[MAX_SIMULTANIOUS_PLAYERS]
void RemotePlayerStatDebug(PlayerBase player)