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

◆ SetHandsItem()

void CTObjectFollower::SetHandsItem ( string item)
inlineprotected

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

68 {
69 m_HandsItem = item;
70 if ( m_HandsItemObj && m_FollowedObject)
71 {
72 HumanInventory.Cast( m_FollowedObject.GetInventory() ).LocalDestroyEntity( m_HandsItemObj );
74 }
75 if (item)
76 {
77 HumanInventory.Cast( m_FollowedObject.GetInventory() ).CreateInHands( item );
78 }
79 }
proto native void ObjectDelete(Object obj)
EntityAI m_HandsItemObj
Определения CTActor.c:11
string m_HandsItem
Определения CTActor.c:8
proto native CGame GetGame()

Перекрестные ссылки HumanInventory::CreateInHands(), GetGame(), HumanInventory::LocalDestroyEntity(), m_HandsItem, m_HandsItemObj и CGame::ObjectDelete().

Используется в CTActor() и Reset().