Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_MineWeaponComponent Interface Reference
Inheritance diagram for SCR_MineWeaponComponent:
WeaponComponent BaseWeaponComponent GameComponent

Public Member Functions

bool IsFlagged ()
 
void OnFlagRemoved (SCR_MineFlagPickUpAction action)
 
void SetFlag (IEntity flag)
 Call only on server!
 
- Public Member Functions inherited from WeaponComponent
proto external void ActivateAttachments (bool active)
 Set/Clear the active flags to all attachements on this weapon.
 
- Public Member Functions inherited from BaseWeaponComponent
proto external UIInfo GetUIInfo ()
 
proto external string GetWeaponSlotType ()
 
proto external EWeaponType GetWeaponType ()
 
proto external int GetMuzzlesList (out notnull array< BaseMuzzleComponent > outMuzzles)
 
proto external ECanBeEquippedResult CanBeEquipped (CharacterControllerComponent charController)
 
proto external BaseMuzzleComponent GetCurrentMuzzle ()
 
proto external bool IsReloadPossible ()
 Returns whether current weapon is able to be reloaded or not.
 
proto external bool IsChamberingNecessary ()
 
proto external bool IsChamberingPossible ()
 
proto external BaseMagazineComponent GetCurrentMagazine ()
 
proto external string GetCurrentFireModeName ()
 
proto external EWeaponFiremodeType GetCurrentFireModeType ()
 
proto external float GetCurrentSightsZeroing ()
 
proto external bool GetCurrentSightsZeroingTransform (out vector outMat[4])
 
proto external void SightADSActivated ()
 
proto external void SightADSDeactivated ()
 
proto external bool IsSightADSActive ()
 
proto external BaseSightsComponent GetSights ()
 
proto external BaseSightsComponent GetAttachedSights ()
 
proto external int GetAttachments (out notnull array< AttachmentSlotComponent > outArray)
 
proto external BaseSightsComponent GetSightsAt (int sightsIndex)
 
proto external bool HasSightsAt (int sightsIndex)
 
proto external bool CanSetSights (int sightsIndex)
 
proto external bool CanSwitchToSights (int sightsIndex)
 
proto external int FindAvailableSights ()
 
proto external bool SetSights (int sightsIndex)
 
proto external bool SwitchNextSights ()
 
proto external bool SwitchPrevSights ()
 
proto external bool CanSwitchSights ()
 
proto external IEntity GetOwner ()
 
proto external float GetInitialProjectileSpeed ()
 
proto external bool HasBipod ()
 Returns true if weapon has a bipod available.
 
proto external bool GetBipod ()
 Returns true if weapon has bipod deployed.
 
proto external void SetBipod (bool deploy)
 Changes state of bipod to deployed/undeployed depending on parameter.
 
proto external void SetDeploymentTriggerEffectEnabled (bool val)
 Set deployment gamepad-trigger-effect enable/disable.
 
void OnWeaponActive ()
 
void OnWeaponInactive ()
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Protected Member Functions

bool RplLoad (ScriptBitReader reader)
 
bool RplSave (ScriptBitWriter writer)
 
void OnFlagParentSlotChanged (InventoryStorageSlot oldSlot, InventoryStorageSlot newSlot)
 
void RegisterToFlag (IEntity flag)
 
SCR_MineFlagPickUpAction FindAction (IEntity flag)
 

Protected Attributes

IEntity m_FlagEntity
 

Member Function Documentation

◆ FindAction()

SCR_MineFlagPickUpAction SCR_MineWeaponComponent.FindAction ( IEntity flag)
protected

◆ IsFlagged()

bool SCR_MineWeaponComponent.IsFlagged ( )
Returns

◆ OnFlagParentSlotChanged()

void SCR_MineWeaponComponent.OnFlagParentSlotChanged ( InventoryStorageSlot oldSlot,
InventoryStorageSlot newSlot )
protected

◆ OnFlagRemoved()

void SCR_MineWeaponComponent.OnFlagRemoved ( SCR_MineFlagPickUpAction action)
Parameters
[in]action

◆ RegisterToFlag()

void SCR_MineWeaponComponent.RegisterToFlag ( IEntity flag)
protected

◆ RplLoad()

bool SCR_MineWeaponComponent.RplLoad ( ScriptBitReader reader)
protected

◆ RplSave()

bool SCR_MineWeaponComponent.RplSave ( ScriptBitWriter writer)
protected

◆ SetFlag()

void SCR_MineWeaponComponent.SetFlag ( IEntity flag)

Call only on server!

Parameters
[in]flag

Member Data Documentation

◆ m_FlagEntity

IEntity SCR_MineWeaponComponent.m_FlagEntity
protected

The documentation for this interface was generated from the following file: