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

◆ RemoveAllAttachedChildrenByTypename()

static void RemoveAllAttachedChildrenByTypename ( notnull EntityAI parent,
array< typename > listOfTypenames )
staticprotected

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

1824 {
1825 if (listOfTypenames.Count() > 0)
1826 {
1827 Object child = Object.Cast(parent.GetChildren());
1828 while (child)
1829 {
1830 Object childToRemove = child;
1831 child = Object.Cast(child.GetSibling());
1832
1833 if (childToRemove.IsAnyInherited(listOfTypenames))
1834 {
1835 vector pos = parent.GetPosition();
1836 parent.RemoveChild(childToRemove, false);
1837
1838 vector m4[4];
1840 m4[3] = pos;
1841 childToRemove.SetTransform(m4);
1842 childToRemove.PlaceOnSurface();
1843 }
1844 }
1845 }
1846 }
Определения EnMath3D.c:28
Определения ObjectTyped.c:2
Определения EnConvert.c:106
static void MatrixIdentity4(out vector mat[4])
Creates identity matrix.
Определения EnMath3D.c:256

Перекрестные ссылки Math3D::MatrixIdentity4().