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
//------------------------------------------------------------------------------------------------
3
class
SCR_OpenStorageAction
:
SCR_InventoryAction
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
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
UserActions
SCR_OpenStorageAction.c
Generated by
1.8.17