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

◆ IsObjectObstructedFilter()

static bool IsObjectObstructedFilter ( Object object,
IsObjectObstructedCache cache,
PlayerBase player )
staticprotected

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

1499 {
1500 for (int m = 0; m < cache.HitObjects.Count(); ++m)
1501 {
1502 Object hit_object = cache.HitObjects.Get(m);
1503
1504 if ( hit_object.CanObstruct() )
1505 return true;
1506
1507 //4.3. ignore item if items are big and heavy >= OBJECT_OBSTRUCTION_WEIGHT
1508 //EntityAI eai;
1509 //if ( Class.CastTo( eai, hit_object ) )
1510 //{
1511 // if ( eai.GetWeight() >= OBJECT_OBSTRUCTION_WEIGHT )
1512 // {
1513 // if ( eai != filtered_object && eai.GetHierarchyRoot() != filtered_object )
1514 // {
1515 // //Print("!!!!!obstacle vaha: " + hit_object);
1516 // is_obstructed = true;
1517 // }
1518 // }
1519 //}
1520 }
1521
1522 return false;
1523 }
Определения ObjectTyped.c:2

Перекрестные ссылки IsObjectObstructedCache().