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

◆ IsObjectObstructedFilter()

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

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

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

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