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

◆ OnWasAttached()

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

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

19 {
20 super.OnWasAttached(parent, slot_id);
21
22 if (InventorySlots.GetSlotName(slot_id) == "Bait")
23 {
24 SetAnimationPhase("bait_unhooked",1);
25 SetAnimationPhase("bait_hooked",0);
26 }
27 }

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