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

◆ UpdateProxySelections()

void UpdateProxySelections ( )
protected

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

407 {
408 if ( GetInventory().AttachmentCount() > 0)
409 {
410 ItemBase attachment = ItemBase.Cast( GetInventory().GetAttachmentFromIndex(0) );
411
412 if ( attachment )
413 {
414 // Hide all proxies
415 for (int i = 1; i <= 3; i++)
416 {
417 HideSelection("s" + i + "_charge");
418 }
419
420 // Now show the one we need to see
421 string proxy_to_show = string.Format("s%1_charge", GetState() );
422 //Print(proxy_to_show);
423 ShowSelection( proxy_to_show );
424 }
425 }
426 }
int GetState()
returns one of STATE_...
Определения Trap_TripWire.c:179

Перекрестные ссылки GetState().