  | 
  
    Dayz Explorer
    1.24.157551 (v105080)
    
   Dayz Code Explorer by Zeroy 
   | 
 
 
 
 
Go to the documentation of this file.
   41         int curr = 
m_weapon.GetWeaponAnimState();
 
   58                         Human wpnOwner = Human.Cast(
m_weapon.GetHierarchyRootPlayer());
 
   91     override bool IsIdle() { 
return true; }
 
   93     int GetCurrentStateID() { 
return 0; }
 
  115     bool IsRepairEnabled() { 
return false; }
 
  122     bool HasBullet() { 
return false; }
 
  125     bool HasMagazine() { 
return false; }
 
  128     bool IsJammed() { 
return false; }
 
  131     bool IsDischarged() { 
return false; }
 
  184             if (DayZGame.m_IsPreviewSpawn)
 
  191             ErrorEx(
"Muzzle array validation has failed. Please set up the correct muzzle states by overriding InitMuzzleArray.", severity);
 
  
 
MuzzleState GetMuzzleState(int idx)
Get chamber state of the muzzle at index.
 
enum MuzzleState m_animState
 
bool IsChamberFull(int idx)
 
void WeaponStableState(Weapon_Base w=NULL, WeaponStateBase parent=NULL, int anim_state=-1)
 
bool IsChamberFiredOut(int idx)
 
bool IsSingleState()
Special one for when the weapon only has one singular state (like Magnum)
 
void ValidateMuzzleArray()
Safety check and error message in case not set up correctly.
 
void fsmDebugSpam(string s)
 
ref array< MuzzleState > m_muzzleHasBullet
 
override void OnUpdate(float dt)
 
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
 
signalize mechanism manipulation
 
represent weapon state base
 
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
 
Super root of all classes in Enforce script.
 
bool IsChamberValid(int idx)
 
bool IsWeaponOpen()
Whether the gun is open.
 
int GetMuzzleStateCount()
 
represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in)