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_OpenDeployableSpawnPointStorageAction.c
Go to the documentation of this file.
1
class
SCR_OpenDeployableSpawnPointStorageAction
:
SCR_OpenStorageAction
2
{
3
#ifndef DISABLE_INVENTORY
4
protected
SCR_RestrictedDeployableSpawnPointComponent
m_DeployableItemComp
;
5
6
//------------------------------------------------------------------------------------------------
7
override
protected
bool
CanBeShownScript
(
IEntity
user)
8
{
9
return
m_DeployableItemComp
.CanOpenStorageBeShown(user);
10
}
11
12
//------------------------------------------------------------------------------------------------
13
override
void
Init
(
IEntity
pOwnerEntity,
GenericComponent
pManagerComponent)
14
{
15
IEntity
owner =
GetOwner
();
16
if
(!owner)
17
return
;
18
19
m_DeployableItemComp
=
SCR_RestrictedDeployableSpawnPointComponent
.Cast(owner.
FindComponent
(
SCR_RestrictedDeployableSpawnPointComponent
));
20
}
21
#endif
22
}
GenericComponent
Definition
GenericComponent.c:13
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
SCR_OpenDeployableSpawnPointStorageAction
Definition
SCR_OpenDeployableSpawnPointStorageAction.c:2
SCR_OpenDeployableSpawnPointStorageAction::CanBeShownScript
bool CanBeShownScript(IEntity user)
Definition
SCR_OpenDeployableSpawnPointStorageAction.c:7
SCR_OpenDeployableSpawnPointStorageAction::Init
override void Init(IEntity pOwnerEntity, GenericComponent pManagerComponent)
Definition
SCR_OpenDeployableSpawnPointStorageAction.c:13
SCR_OpenDeployableSpawnPointStorageAction::m_DeployableItemComp
SCR_RestrictedDeployableSpawnPointComponent m_DeployableItemComp
Definition
SCR_OpenDeployableSpawnPointStorageAction.c:4
SCR_OpenStorageAction
modded version for to be used with the inventory 2.0
Definition
SCR_OpenStorageAction.c:4
SCR_RestrictedDeployableSpawnPointComponent
Deployable spawn point with configurable conditions.
Definition
SCR_RestrictedDeployableSpawnPointComponent.c:16
GetOwner
IEntity GetOwner()
Owner entity of the fuel tank.
Definition
SCR_FuelNode.c:128
scripts
Game
DeployableInventoryItems
SCR_OpenDeployableSpawnPointStorageAction.c
Generated by
1.17.0