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