Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_LootAction.c
Go to the documentation of this file.
1
class
SCR_LootAction
:
SCR_InventoryAction
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
};
CharacterVicinityComponent
Definition
CharacterVicinityComponent.c:13
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
SCR_InventoryAction
modded version for to be used with the inventory 2.0
Definition
SCR_InventoryAction.c:4
SCR_LootAction
Definition
SCR_LootAction.c:2
SCR_LootAction::PerformActionInternal
void PerformActionInternal(SCR_InventoryStorageManagerComponent manager, IEntity pOwnerEntity, IEntity pUserEntity)
Definition
SCR_LootAction.c:5
scripts
Game
UserActions
SCR_LootAction.c
Generated by
1.17.0