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

◆ DebugFreeAreaAtDoor()

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

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

1053 {
1054 int color = ARGB(20, 0, 255, 0);
1055
1056 vector transform[4];
1058
1060 extents[1] = playerHeight;
1062
1064 {
1065 color = ARGB(20, 255, 0, 0);
1066 }
1067
1068 Shape shape = Debug.DrawBox(-extents * 0.5, extents * 0.5, color);
1069 shape.SetMatrix(transform);
1070 return shape;
1071 }
bool IsAreaAtDoorFree(int currentSeat, float maxAllowedObjHeight, inout vector extents, out vector transform[4])
Определения Transport.c:844
Определения Transport.c:70
int ARGB(int a, int r, int g, int b)
Определения proto.c:322