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

◆ DebugFreeAreaAtDoor()

Shape EntityAI::DebugFreeAreaAtDoor ( int currentSeat,
float maxAllowedObjHeight = 0.5,
float horizontalExtents = 0.5,
float playerHeight = 1.7 )
inlineprotected

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

631 {
632 int color = ARGB(20, 0, 255, 0);
633
634 vector transform[4];
635 vector extents;
636
637 extents[0] = horizontalExtents;
638 extents[1] = playerHeight;
639 extents[2] = horizontalExtents;
640
641 if (!IsAreaAtDoorFree( currentSeat, maxAllowedObjHeight, extents, transform ))
642 {
643 color = ARGB(20, 255, 0, 0);
644 }
645
646 Shape shape = Debug.DrawBox(-extents * 0.5, extents * 0.5, color);
647 shape.SetMatrix(transform);
648 return shape;
649 }
void Debug()
Определения UniversalTemperatureSource.c:349
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight, inout vector extents, out vector transform[4])
Определения Transport.c:573
class DiagMenu Shape
don't call destructor directly. Use Destroy() instead
int ARGB(int a, int r, int g, int b)
Определения proto.c:322

Перекрестные ссылки ARGB(), Debug::DrawBox(), Transport::IsAreaAtDoorFree() и Shape.