Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_WeaponLib Interface Reference

SCR_WeaponLib Class. More...

Static Public Member Functions

static BaseWeaponComponent GetCurrentWeaponComponent (notnull ChimeraCharacter owner)
 Returns BaseWeaponComponent of current weapon.
 
static BaseWeaponComponent GetCurrentWeaponComponent (notnull BaseWeaponManagerComponent weaponManager)
 Returns BaseWeaponComponent of current weapon.
 
static bool CurrentWeaponHasComponent (notnull BaseWeaponManagerComponent weaponManager, TypeName component)
 Returns true if current weapon has component we are testing.
 
static int GetNextMuzzleID (notnull BaseWeaponComponent weapon)
 Get ID of next muzzle.
 

Detailed Description

SCR_WeaponLib Class.

Contains weapon related script functions

Member Function Documentation

◆ CurrentWeaponHasComponent()

static bool SCR_WeaponLib.CurrentWeaponHasComponent ( notnull BaseWeaponManagerComponent weaponManager,
TypeName component )
static

Returns true if current weapon has component we are testing.

◆ GetCurrentWeaponComponent() [1/2]

static BaseWeaponComponent SCR_WeaponLib.GetCurrentWeaponComponent ( notnull BaseWeaponManagerComponent weaponManager)
static

Returns BaseWeaponComponent of current weapon.

◆ GetCurrentWeaponComponent() [2/2]

static BaseWeaponComponent SCR_WeaponLib.GetCurrentWeaponComponent ( notnull ChimeraCharacter owner)
static

Returns BaseWeaponComponent of current weapon.

◆ GetNextMuzzleID()

static int SCR_WeaponLib.GetNextMuzzleID ( notnull BaseWeaponComponent weapon)
static

Get ID of next muzzle.


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