Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
smershvest.c
Go to the documentation of this file.
1 class SmershVest extends Vest_Base
2 {
3  override void EEItemAttached(EntityAI item, string slot_name)
4  {
5  super.EEItemAttached(item,slot_name);
6 
7  if (SmershBag.Cast(item))
8  {
9  ShowSelection("Buttpack");
10  }
11  }
12 
13  override void EEItemDetached(EntityAI item, string slot_name)
14  {
15  super.EEItemDetached(item,slot_name);
16 
17  if (SmershBag.Cast(item))
18  {
19  HideSelection("Buttpack");
20  }
21  }
22 
23 };
Vest_Base
Definition: chestholster.c:1
EEItemAttached
override void EEItemAttached(EntityAI item, string slot_name)
Definition: basebuildingbase.c:520
EEItemDetached
override void EEItemDetached(EntityAI item, string slot_name)
Definition: basebuildingbase.c:529
EntityAI
Definition: building.c:5