Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BlockUnequipItemHintUIInfo.c
Go to the documentation of this file.
1[BaseContainerProps(configRoot: true)]
2class SCR_BlockUnequipItemHintUIInfo : SCR_InventoryItemHintUIInfo
3{
4 //------------------------------------------------------------------------------------------------
5 override bool CanBeShown(InventoryItemComponent item, SCR_InventorySlotUI focusedSlot)
6 {
7 if (!super.CanBeShown(item, focusedSlot))
8 return false;
9
10 //~ Only show if item is not in slot of another character
12 return false;
13
14 //~ Show when Item is in equipment slot
15 return SCR_EquipmentStorageSlot.Cast(item.GetParentSlot()) != null;
16 }
17}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
proto external IEntity GetParent()
static IEntity GetLocalControlledEntity()