Arma Reforger Script API
|
Base class which all deployable inventory items inherit from. More...
Public Member Functions | |
void | SetDeploying (bool isDeploying) |
bool | IsDeploying () |
ScriptInvokerBool | GetOnDeployedStateChanged () |
void | OnCompositionDestroyed (IEntity instigator) |
Callback method that is triggered when composition is destroyed. | |
void | Deploy (IEntity userEntity=null, bool reload=false) |
Gets called when deploy action is executed by player. | |
void | Dismantle (IEntity userEntity=null, bool reload=false) |
Gets called when dismantle action is executed by player. | |
void | Reload () |
Dismantle and redeploy to update settings. | |
bool | CanDeployBeShown (notnull IEntity userEntity) |
bool | CanDismantleBeShown (notnull IEntity userEntity) |
bool | IsDeployed () |
int | GetItemOwnerID () |
override void | OnPostInit (IEntity owner) |
Protected Member Functions | |
void | RPC_SetTransformBroadcast (vector transform[4]) |
void | RPC_PlaySoundOnDeployBroadcast (bool deploy) |
void | OnRplDeployed () |
Protected Attributes | |
bool | m_bEnableSounds |
bool | m_bIsDeployed |
IEntity | m_ReplacementEntity |
vector | m_aOriginalTransform [4] |
RplComponent | m_RplComponent |
bool | m_bIsDeploying |
int | m_iItemOwnerID = -1 |
ref ScriptInvokerBool | m_OnDeployedStateChanged |
bool | m_bWasDeployed |
IEntity | m_PreviousOwner |
Base class which all deployable inventory items inherit from.
bool SCR_BaseDeployableInventoryItemComponent.CanDeployBeShown | ( | notnull IEntity | userEntity | ) |
bool SCR_BaseDeployableInventoryItemComponent.CanDismantleBeShown | ( | notnull IEntity | userEntity | ) |
void SCR_BaseDeployableInventoryItemComponent.Deploy | ( | IEntity | userEntity = null , |
bool | reload = false |
||
) |
Gets called when deploy action is executed by player.
[in] | userEntity |
Implemented in SCR_RestrictedDeployableSpawnPointComponent, and SCR_BaseDeployableSpawnPointComponent.
void SCR_BaseDeployableInventoryItemComponent.Dismantle | ( | IEntity | userEntity = null , |
bool | reload = false |
||
) |
Gets called when dismantle action is executed by player.
[in] | userEntity |
Implemented in SCR_BaseDeployableSpawnPointComponent, and SCR_RestrictedDeployableSpawnPointComponent.
int SCR_BaseDeployableInventoryItemComponent.GetItemOwnerID | ( | ) |
ScriptInvokerBool SCR_BaseDeployableInventoryItemComponent.GetOnDeployedStateChanged | ( | ) |
bool SCR_BaseDeployableInventoryItemComponent.IsDeployed | ( | ) |
bool SCR_BaseDeployableInventoryItemComponent.IsDeploying | ( | ) |
void SCR_BaseDeployableInventoryItemComponent.OnCompositionDestroyed | ( | IEntity | instigator | ) |
Callback method that is triggered when composition is destroyed.
override void SCR_BaseDeployableInventoryItemComponent.OnPostInit | ( | IEntity | owner | ) |
|
protected |
Implemented in SCR_BaseDeployableSpawnPointComponent.
void SCR_BaseDeployableInventoryItemComponent.Reload | ( | ) |
Dismantle and redeploy to update settings.
|
protected |
|
protected |
void SCR_BaseDeployableInventoryItemComponent.SetDeploying | ( | bool | isDeploying | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |