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

◆ IsObjectObstructedFilter()

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

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

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

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