156 {
157 int i = 0;
160 {
162 vector pos = utsd.GetValue(0).ToVector();
163 vector screen_pos_stats =
g_Game.GetScreenPos(pos +
"0 0 0");
164 vector screen_pos_damage =
g_Game.GetScreenPos(pos +
"0 2 0");
165 m_RootWidget[i].SetPos(screen_pos_stats[0], screen_pos_stats[1]);
166
167 if (screen_pos_stats[2] > 0 && screen_pos_stats[0] > 0 && screen_pos_stats[1] > 0)
168 {
171 }
172 else
173 {
175 }
176 }
177
179 {
181 {
183 }
184 }
185 }
void UpdateStatWidget(int rowIndex, UTemperatureSourceDebug utsd)
ref array< ref UTemperatureSourceDebug > m_UTemperatureSourceDebugs
const int MAX_SIMULTANEOUS_UTS
ref Widget m_RootWidget[MAX_SIMULTANEOUS_UTS]