DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ StartDrop()

void BleedingIndicatorDropData::StartDrop ( )
inlineprotected

См. определение в файле BleedingDrop.c строка 154

155 {
156 m_TimeTotal = 0;
157
159 m_Widget.SetPos(m_PosX,m_PosY);
160#ifdef DIAG_DEVELOPER
161 if (DbgBleedingIndicationStaticInfo.m_DbgUseOverrideValues && !DbgBleedingIndicationStaticInfo.m_DbgDropRotationRandom)
162 {
163 m_Widget.SetRotation(0,0,0);
164 }
165 else
166#endif
167 {
168 m_Widget.SetRotation(0,0,Math.RandomFloatInclusive(0.0,360.0));
169 }
170
171 m_Widget.Show(true);
172 m_IsRunning = true;
173 }
ImageWidget m_Widget
Определения BleedingDrop.c:4
vector m_BasePosition
Определения BleedingDrop.c:29
float m_PosY
Определения BleedingDrop.c:32
float m_PosX
Определения BleedingDrop.c:32
bool m_IsRunning
Определения BleedingDrop.c:28
float m_TimeTotal
Определения BleedingDrop.c:6
void ScatterPosition(vector pos)
Определения BleedingDrop.c:137

Перекрестные ссылки m_BasePosition, DbgBleedingIndicationStaticInfo::m_DbgDropRotationRandom, DbgBleedingIndicationStaticInfo::m_DbgUseOverrideValues, m_IsRunning, m_PosX, m_PosY, m_TimeTotal, m_Widget, Math::RandomFloatInclusive() и ScatterPosition().

Используется в Managed::TrySpawnNextDrop().