DayZ 1.29
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 строка 691

692 {
693 int color = ARGB(20, 0, 255, 0);
694
695 vector transform[4];
696 vector extents;
697
698 extents[0] = horizontalExtents;
699 extents[1] = playerHeight;
700 extents[2] = horizontalExtents;
701
702 if (!IsAreaAtDoorFree( currentSeat, maxAllowedObjHeight, extents, transform ))
703 {
704 color = ARGB(20, 255, 0, 0);
705 }
706
707 Shape shape = Debug.DrawBox(-extents * 0.5, extents * 0.5, color);
708 shape.SetMatrix(transform);
709 return shape;
710 }
string Debug()
Определения CachedEquipmentStorageBase.c:29
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight, inout vector extents, out vector transform[4])
Определения Transport.c:634
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.