Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SCR_WeaponStatsManagerComponent Interface Reference
Inheritance diagram for SCR_WeaponStatsManagerComponent:
[legend]

Public Member Functions

override void OnWeaponAttachedAttachment (IEntity entity, int iMuzzleIndex)
 Called when entity is being attached, after it was attached.
 
override void OnWeaponDetachedAttachment (IEntity entity, int iMuzzleIndex)
 Called when an entity is detached, before it is actually detached.
 
- Public Member Functions inherited from BaseWeaponStatsManagerComponent
proto external IEntity GetOwner ()
 
proto external int GetNumberOfMuzzles ()
 
proto external bool SetMuzzleVelocityCoefficient (IEntity attach, int iMuzzleIndex, float muzzleCoeff)
 Muzzle Velocity Coefficient.
 
proto external bool ClearMuzzleVelocityCoefficient (IEntity attach, int iMuzzleIndex)
 
proto bool GetMuzzleVelocityCoefficient (int iMuzzleIndex, out float coeff)
 
proto external bool SetShotSoundOverride (IEntity attach, int iMuzzleIndex, bool bOverride)
 Shot Sound.
 
proto external bool ClearShotSoundOverride (IEntity attach, int iMuzzleIndex)
 
proto bool GetShotSound (int iMuzzleIndex, out bool bOveride)
 
proto external bool SetMuzzleEffectOverride (IEntity attach, int iMuzzleIndex, bool bOverrde)
 Muzzle Effects.
 
proto external bool AddMuzzleEffectOverride (IEntity attach, int iMuzzleIndex, MuzzleEffectComponent muzzleEffect)
 
proto external bool ClearMuzzleEffectOverride (IEntity attach, int iMuzzleIndex)
 
proto bool GetMuzzleEffectOverride (int iMuzzleIndex, out bool bOverride)
 
proto external bool SetMuzzleDispersionFactor (IEntity attach, int iMuzzleIndex, float fFactor)
 Dispersion Diameter.
 
proto external bool ClearMuzzleDispersionFactor (IEntity attach, int iMuzzleIndex)
 
proto bool GetMuzzleDispersionFactor (int iMuzzleIndex, out float fFactor)
 
proto external bool SetExtraObstructionLength (IEntity attach, float extraLength)
 Weapon extra obstruction length.
 
proto external bool ClearExtraObstructionLength (IEntity attach)
 
proto bool GetExtraObstructionLength (out float extraLength)
 
proto external bool SetIsBayonet (IEntity attach, bool bIsBayonet)
 Is Bayonet. Mostly used for stabby-stabby anim.
 
proto external bool ClearIsBayonet (IEntity attach)
 
proto bool GetIsBayonet (out bool bIsBayonet)
 
proto external bool SetMeleeDamageFactor (IEntity attach, float fDamageFactor)
 Melee Damage Factor.
 
proto external bool ClearMeleeDamageFactor (IEntity attach)
 
proto bool GetMeleeDamageFactor (out float fDamageFactor)
 
proto external bool SetMeleeRangeFactor (IEntity attach, float fRangeFactor)
 Melee Range Factor.
 
proto external bool ClearMeleeRangeFactor (IEntity attach)
 
proto bool GetMeleeRangeFactor (out float fRangeFactor)
 
proto external bool SetMeleeAccuracyFactor (IEntity attach, float fAccuracyFactor)
 Melee Accuracy Factor.
 
proto external bool ClearMeleeAccuracyFactor (IEntity attach)
 
proto bool GetMeleeAccuracyFactor (out float fAccuracyFactor)
 
proto external bool SetRecoilLinearFactors (IEntity attach, int iMuzzleIndex, vector vLinearFactors)
 Recoil Linear Override Factors.
 
proto external bool ClearRecoilLinearFactors (IEntity attach, int iMuzzleIndex)
 
proto bool GetRecoilLinearFactors (int iMuzzleIndex, out vector vLinearFactors)
 
proto external bool SetRecoilAngularFactors (IEntity attach, int iMuzzleIndex, vector vAngularFactors)
 Recoil Angular Override Factors.
 
proto external bool ClearRecoilAngularFactors (IEntity attach, int iMuzzleIndex)
 
proto bool GetRecoilAngularFactors (int iMuzzleIndex, out vector vAngularFactors)
 
proto external bool SetRecoilTurnFactors (IEntity attach, int iMuzzleIndex, vector vTurnFactors)
 Recoil Turn Override Factors.
 
proto external bool ClearRecoilTurnFactors (IEntity attach, int iMuzzleIndex)
 
proto bool GetRecoilTurnFactors (int iMuzzleIndex, out vector vTurnFactors)
 
void OnWeaponAttachedAttachment (IEntity entity, int iMuzzleIndex)
 Called when entity is being attached, after it was attached.
 
void OnWeaponDetachedAttachment (IEntity entity, int iMuzzleIndex)
 Called when an entity is detached, before it is actually detached.
 
- Public Member Functions inherited from GameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ OnWeaponAttachedAttachment()

override void SCR_WeaponStatsManagerComponent.OnWeaponAttachedAttachment ( IEntity  entity,
int  iMuzzleIndex 
)

Called when entity is being attached, after it was attached.

iMuzzleIndex specifies the index of the muzzle it was attached to, or -1 if the entity was not attached to a muzzle

Implements BaseWeaponStatsManagerComponent.

◆ OnWeaponDetachedAttachment()

override void SCR_WeaponStatsManagerComponent.OnWeaponDetachedAttachment ( IEntity  entity,
int  iMuzzleIndex 
)

Called when an entity is detached, before it is actually detached.

iMuzzleIndex specifies the index of the muzzle from with it is detached from, or -1 if it wasn't attached to a muzzle.

Implements BaseWeaponStatsManagerComponent.


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