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

◆ GetItemFallDetectionBoxData()

bool GetItemFallDetectionBoxData ( string partName,
out vector minMax[2] )
protected

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

1609 {
1611 array<string> dta = path.GetItemFallingData();
1612 if (dta.Count() == 2)
1613 {
1614 if (m_EntityParent.MemoryPointExists(dta[0]))
1615 {
1616 minMax[0] = m_EntityParent.GetMemoryPointPos(dta[0]);
1617 }
1618 if (m_EntityParent.MemoryPointExists(dta[1]))
1619 {
1620 minMax[1] = m_EntityParent.GetMemoryPointPos(dta[1]);
1621 }
1622
1623 return true;
1624 }
1625 else if (dta.Count() > 0)
1626 {
1627 ErrorEx(string.Format("Wrong collision_data configuration of %1 for object %2; valid item_falling_data must contain exactly 2 strings (min/max)!", partName, m_EntityParent), ErrorExSeverity.INFO);
1628 }
1629
1630 return false;
1631 }
ConstructionPart GetConstructionPart()
Определения ActionPartInfo.c:235
EntityAI m_EntityParent
Определения ConstructionBase.c:45
string path
Определения OptionSelectorMultistate.c:142
Instanced construction part data classes for dynamic data, statics now stored on EntityType level in ...
Определения ConstructionPart.c:4
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
ErrorExSeverity
Определения EnDebug.c:62
enum ShapeType ErrorEx

Перекрестные ссылки ErrorEx, GetConstructionPart(), m_EntityParent и path.

Используется в ItemFall().