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

◆ SwitchItemSelectionTexture()

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

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

1435 {
1436 super.SwitchItemSelectionTexture(item,slot_name);
1437
1438 //shirt + armband
1439 EntityAI armband = FindAttachmentBySlotName("Armband");
1440 if (slot_name == "Body" && armband)
1441 {
1442 Param1<PlayerBase> p = new Param1<PlayerBase>(this);
1443 armband.SwitchItemSelectionTextureEx(EItemManipulationContext.UPDATE,p);
1444 }
1445 }
class LogManager EntityAI

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