DayZ 1.29
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 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
proto native CEApi GetCEApi()
Get the CE API.
float m_CurrentMinimalDistance
Определения TrapSpawnBase.c:23
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

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

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