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

◆ TrySpawnCatch()

void ItemBase::TrySpawnCatch ( )
inlineprotected

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

555 {
558
559 #ifdef DEVELOPER
560 if (IsCLIParam("trapsQuick") || m_CurrentMinimalDistance <= 0 || !IsPlayerInVicinity())
561 #else
563 #endif
564 {
565 SpawnCatch();
566 }
568 {
570 }
571 }
void AdjustDetectionRange()
Определения TrapSpawnBase.c:453
int m_ElapsedTime
Adjusted by init wait time, when appropriate.
Определения TrapSpawnBase.c:20
void IncreaseElapsedTime()
Определения TrapSpawnBase.c:439
int m_AdjustedMaxActiveTime
After this time after deployment, the trap is activated.
Определения TrapSpawnBase.c:19
float m_CurrentMinimalDistance
Определения TrapSpawnBase.c:23
void RunTrappingTimer(float duration, string fnName)
generic trapping launcher for traps, use this to store delta info
Определения TrapSpawnBase.c:316
int m_SpawnUpdateWaitTime
Catch evaluation interval.
Определения TrapSpawnBase.c:11
void SpawnCatch()
Определения TrapSpawnBase.c:574
bool IsPlayerInVicinity()
Определения TrapSpawnBase.c:543
proto native bool IsCLIParam(string param)
Returns if command line argument is present.

Перекрестные ссылки AdjustDetectionRange(), IncreaseElapsedTime(), IsCLIParam(), IsPlayerInVicinity(), m_AdjustedMaxActiveTime, m_CurrentMinimalDistance, m_ElapsedTime, m_SpawnUpdateWaitTime, RunTrappingTimer() и SpawnCatch().

Используется в EvaluateCatch().