Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_BlockUnequipItemHintUIInfo.c
Go to the documentation of this file.
1
[
BaseContainerProps
(configRoot:
true
)]
2
class
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
11
if
(item.GetOwner().
GetParent
() !=
SCR_PlayerController
.
GetLocalControlledEntity
())
12
return
false
;
13
14
//~ Show when Item is in equipment slot
15
return
SCR_EquipmentStorageSlot
.Cast(item.GetParentSlot()) != null;
16
}
17
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
IEntity::GetParent
proto external IEntity GetParent()
InventoryItemComponent
Definition
InventoryItemComponent.c:13
SCR_BlockUnequipItemHintUIInfo
Definition
SCR_BlockUnequipItemHintUIInfo.c:3
SCR_EquipmentStorageSlot
Definition
SCR_EquipmentStorageComponent.c:17
SCR_InventorySlotUI
Definition
SCR_InventorySlotUI.c:26
SCR_PlayerController
Definition
SCR_PlayerController.c:31
SCR_PlayerController::GetLocalControlledEntity
static IEntity GetLocalControlledEntity()
Definition
SCR_PlayerController.c:495
scripts
Game
Editor
Containers
UIInfo
SCR_BlockUnequipItemHintUIInfo.c
Generated by
1.17.0