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

◆ IsObjectObstructedFilter()

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

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

1638 {
1639 for (int m = 0; m < cache.HitObjects.Count(); ++m)
1640 {
1641 Object hit_object = cache.HitObjects.Get(m);
1642
1643 if ( hit_object.CanObstruct() )
1644 return true;
1645
1646 //4.3. ignore item if items are big and heavy >= OBJECT_OBSTRUCTION_WEIGHT
1647 //EntityAI eai;
1648 //if ( Class.CastTo( eai, hit_object ) )
1649 //{
1650 // if ( eai.GetWeight() >= OBJECT_OBSTRUCTION_WEIGHT )
1651 // {
1652 // if ( eai != filtered_object && eai.GetHierarchyRoot() != filtered_object )
1653 // {
1654 // //Print("!!!!!obstacle vaha: " + hit_object);
1655 // is_obstructed = true;
1656 // }
1657 // }
1658 //}
1659 }
1660
1661 return false;
1662 }
Определения ObjectTyped.c:2

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