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

◆ RemoveAllAttachedChildrenByTypename()

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

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

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

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