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

◆ AddChild()

proto native external bool IEntity::AddChild ( notnull IEntity child,
int pivot,
bool positionOnly = false )
protected

Adds child entity to this entity.

Заметки
Make sure the parent is not ToDelete
Аргументы
childIEntity Pointer to entity which become our child
pivotint Pivot is pivot index, or -1 for center of parent.
positionOnlybool When set to true, the orientation will still be in WS.
Возвращает
bool True when entity has been attached. False otherwise.