Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DeployableInventoryItemInventoryComponent.c
Go to the documentation of this file.
1 [EntityEditorProps(category: "GameScripted/Components", description: "Mine inventory item component.")]
3 {
4 }
5 
6 class SCR_DeployableInventoryItemInventoryComponent : InventoryItemComponent
7 {
8  //------------------------------------------------------------------------------------------------
9  override bool ShouldHideInVicinity()
10  {
11  SCR_BaseDeployableInventoryItemComponent deployableItemComponent = SCR_BaseDeployableInventoryItemComponent.Cast(GetOwner().FindComponent(SCR_BaseDeployableInventoryItemComponent));
12  if (!deployableItemComponent)
13  return false;
14 
15  return deployableItemComponent.IsDeployed();
16  }
17 }
EntityEditorProps
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
Definition: SCR_AmbientSoundsComponent.c:12
SCR_DeployableInventoryItemInventoryComponentClass
Definition: SCR_DeployableInventoryItemInventoryComponent.c:2
InventoryItemComponentClass
Definition: InventoryItemComponentClass.c:12
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
InventoryItemComponent
Definition: InventoryItemComponent.c:12
ShouldHideInVicinity
SCR_DeployableInventoryItemInventoryComponentClass InventoryItemComponentClass ShouldHideInVicinity()
Definition: SCR_DeployableInventoryItemInventoryComponent.c:9
category
params category
Definition: SCR_VehicleDamageManagerComponent.c:180