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

◆ SwitchItemSelectionTexture()

override void ManBase::SwitchItemSelectionTexture ( EntityAI item,
string slot_name )
inlineprotected

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

1573 {
1574 super.SwitchItemSelectionTexture(item,slot_name);
1575
1576 //shirt + armband
1577 EntityAI armband = FindAttachmentBySlotName("Armband");
1578 if (slot_name == "Body" && armband)
1579 {
1580 Param1<PlayerBase> p = new Param1<PlayerBase>(this);
1581 armband.SwitchItemSelectionTextureEx(EItemManipulationContext.UPDATE,p);
1582 }
1583 }
class LogManager EntityAI

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