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

◆ OnWasDetached()

override void Edible_Base::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprivate

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

30 {
31 super.OnWasDetached(parent, slot_id);
32
33 if (InventorySlots.GetSlotName(slot_id) == "Bait")
34 {
35 SetAnimationPhase("bait_unhooked",0);
36 SetAnimationPhase("bait_hooked",1);
37 }
38 }

Перекрестные ссылки InventorySlots::GetSlotName().