662 {
664 {
669 }
670
673 {
678 }
679
680
681 string config_path_ghosts_slots = "CfgVehicles SurvivorBase InventoryEquipment playerSlots";
682 ref array<string> player_ghosts_slots = new array<string>;
684
685 for ( int i = 0; i < player_ghosts_slots.Count(); i++ )
686 {
687 string slot_name = player_ghosts_slots.Get ( i );
688
691
693
695 icon.GetMainWidget().Show( true );
697
699 EntityAI item =
m_Player.GetInventory().FindAttachment( InventorySlots.GetSlotIdFromString( slot_name ) );
700 if( item )
701 {
703 }
704 }
705 }
proto native void ConfigGetTextArray(string path, out TStringArray values)
Get array of strings from config on path.
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
void OnAttachmentReservationRelease(EntityAI item, int slot_id)
void ItemAttached(EntityAI item, string slot_name)
SlotsIcon GetSlotsIcon(int row, int column)
void OnAttachmentReservationSet(EntityAI item, int slot_id)
void ItemDetached(EntityAI item, string slot_name)
void SetSlotParent(EntityAI parent)
proto native CGame GetGame()