Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MinePickUpItemAction.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4 
5  //------------------------------------------------------------------------------------------------
6  override bool CanBeShownScript(IEntity user)
7  {
8  SCR_PressureTriggerComponent mineTriggerComponent = SCR_PressureTriggerComponent.Cast(GetOwner().FindComponent(SCR_PressureTriggerComponent));
9  if (mineTriggerComponent && mineTriggerComponent.IsActivated())
10  return false;
11 
12  return super.CanBeShownScript(user);
13  }
14 
15 };
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition: SCR_FuelNode.c:128
SCR_MinePickUpItemAction
Definition: SCR_MinePickUpItemAction.c:2
SCR_PickUpItemAction
modded version for to be used with the inventory 2.0
Definition: SCR_PickUpItemAction.c:3