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

◆ IsPlayerInVicinity()

bool ItemBase::IsPlayerInVicinity ( )
inlineprotected

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

544 {
545 if (!GetCEApi())
546 {
547 Debug.Log("CE not enabled, player avoidance not available!");
548 return false;
549 }
550
551 return !GetCEApi().AvoidPlayer(GetPosition(), m_CurrentMinimalDistance);
552 }
proto native CEApi GetCEApi()
Get the CE API.
void Debug()
Определения UniversalTemperatureSource.c:349
float m_CurrentMinimalDistance
Определения TrapSpawnBase.c:23
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetCEApi(), GetPosition, Debug::Log() и m_CurrentMinimalDistance.

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