DayZ 1.29
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 );
73 g_Game.ObjectDelete( m_HandsItemObj );
74 }
75 if (item)
76 {
77 HumanInventory.Cast( m_FollowedObject.GetInventory() ).CreateInHands( item );
78 }
79 }
DayZGame g_Game
Определения DayZGame.c:3942
EntityAI m_HandsItemObj
Определения CTActor.c:11
string m_HandsItem
Определения CTActor.c:8

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

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