DayZ 1.27
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 строка 536

537 {
538 int color = ARGB(20, 0, 255, 0);
539
540 vector transform[4];
541 vector extents;
542
543 extents[0] = horizontalExtents;
544 extents[1] = playerHeight;
545 extents[2] = horizontalExtents;
546
547 if (!IsAreaAtDoorFree( currentSeat, maxAllowedObjHeight, extents, transform ))
548 {
549 color = ARGB(20, 255, 0, 0);
550 }
551
552 Shape shape = Debug.DrawBox(-extents * 0.5, extents * 0.5, color);
553 shape.SetMatrix(transform);
554 return shape;
555 }
void Debug()
Определения UniversalTemperatureSource.c:349
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight, inout vector extents, out vector transform[4])
Определения Transport.c:479
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.