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

◆ IsEntityOnInteriorSurface()

static bool IsEntityOnInteriorSurface ( notnull EntityAI entity_ai)
staticprotected

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

2453 {
2454 string surfaceType;
2455 vector fireplacePosition = entity_ai.GetPosition();
2456 GetGame().SurfaceGetType3D(fireplacePosition[0], fireplacePosition[1] + 1.0, fireplacePosition[2], surfaceType);
2457 return (GetGame().ConfigGetInt("CfgSurfaces " + surfaceType + " interior") == 1);
2458 }
proto float SurfaceGetType3D(float x, float y, float z, out string type)
Y input: Maximum Y to trace down from; Returns: Y position the surface was found.
Определения EnConvert.c:106
proto native CGame GetGame()

Перекрестные ссылки GetGame() и CGame::SurfaceGetType3D().

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