DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
WeaponChambering.c File Reference

Data Structures

class  WeaponStartAction
 simple class starting animation action specified by m_action and m_actionType More...
 
class  WeaponStateBase
 represent weapon state base More...
 
class  WeaponChambering_Base
 
class  WeaponChambering_Preparation
 

Functions

override void OnEntry (WeaponEventBase e)
 
override void OnAbort (WeaponEventBase e)
 
override void OnExit (WeaponEventBase e)
 
void ChamberMultiBullet (Weapon_Base w=NULL, WeaponStateBase parent=NULL, WeaponActions action=WeaponActions.NONE, int startActionType=-1, int endActionType=-1)
 
override bool SaveCurrentFSMState (ParamsWriteContext ctx)
 
override bool LoadCurrentFSMState (ParamsReadContext ctx, int version)
 

Variables

class WeaponChambering_Chamber_OnEntry extends WeaponChambering_Base OnExit
 
class WeaponChambering extends WeaponStateBase IsWaitingForActionFinish
 
class WeaponEndAction extends WeaponStartAction m_action
 
int m_startActionType
 
int m_endActionType
 
Magazine m_srcMagazine
 
ref InventoryLocation m_srcMagazinePrevLocation
 source of the cartridge
 
ref WeaponStateBase m_start
 
ref WeaponEjectCasingMultiMuzzle m_eject
 
ref WeaponChambering_Base m_chamber
 
ref LoopedChambering_Wait4ShowBullet2 m_w4sb2
 
ref WeaponEndAction m_endLoop
 
ref BulletShow_W4T m_showB
 
ref BulletShow2_W4T m_showB2
 

Function Documentation

◆ ChamberMultiBullet()

void ChamberMultiBullet ( Weapon_Base  w = NULL,
WeaponStateBase  parent = NULL,
WeaponActions  action = WeaponActions.NONE,
int  startActionType = -1,
int  endActionType = -1 
)

◆ LoadCurrentFSMState()

◆ OnAbort()

override void OnAbort ( WeaponEventBase  e)

◆ OnEntry()

override void OnEntry ( WeaponEventBase  e)

◆ OnExit()

override void OnExit ( WeaponEventBase  e)

◆ SaveCurrentFSMState()

Variable Documentation

◆ IsWaitingForActionFinish

override bool IsWaitingForActionFinish

◆ m_action

◆ m_chamber

◆ m_eject

◆ m_endActionType

◆ m_endLoop

◆ m_showB

ref BulletShow_W4T m_showB

Referenced by ChamberMultiBullet().

◆ m_showB2

ref BulletShow2_W4T m_showB2

Referenced by ChamberMultiBullet().

◆ m_srcMagazine

◆ m_srcMagazinePrevLocation

◆ m_start

◆ m_startActionType

◆ m_w4sb2

◆ OnExit

override void OnExit