Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ToggleDeployableSpawnPointLoadoutAction.c
Go to the documentation of this file.
2{
4
5 //------------------------------------------------------------------------------------------------
6 override protected bool CanBeShownScript(IEntity user)
7 {
8 return m_DeployableItemComp.CanToggleLoadoutSpawningBeShown(user);
9 }
10
11 //------------------------------------------------------------------------------------------------
12 override protected void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
13 {
14 m_DeployableItemComp.ToggleSpawningWithLoadout(pUserEntity);
15 }
16
17 //------------------------------------------------------------------------------------------------
18 override void Init(IEntity pOwnerEntity, GenericComponent pManagerComponent)
19 {
20 IEntity owner = GetOwner();
21 if (!owner)
22 return;
23
25 }
26}
proto external IEntity GetOwner()
Returns the parent entity of this action.
proto external Managed FindComponent(typename typeName)
Deployable spawn point with configurable conditions.
override void Init(IEntity pOwnerEntity, GenericComponent pManagerComponent)
SCR_RestrictedDeployableSpawnPointComponent m_DeployableItemComp
void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)