Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_OpenStorageAction.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
4 {
5  #ifndef DISABLE_INVENTORY
6  //------------------------------------------------------------------------------------------------
7  override protected void PerformActionInternal(SCR_InventoryStorageManagerComponent manager, IEntity pOwnerEntity, IEntity pUserEntity)
8  {
9  auto vicinity = CharacterVicinityComponent.Cast( pUserEntity .FindComponent( CharacterVicinityComponent ));
10  if ( !vicinity )
11  return;
12 
13  manager.SetStorageToOpen(pOwnerEntity);
14  manager.OpenInventory();
15  }
16 
17  #endif
18 
19 
20 };
SCR_InventoryAction
modded version for to be used with the inventory 2.0
Definition: SCR_InventoryAction.c:3
SCR_OpenStorageAction
modded version for to be used with the inventory 2.0
Definition: SCR_OpenStorageAction.c:3