DayZ 1.24
Loading...
Searching...
No Matches
WeaponStateJammed.c
Go to the documentation of this file.
1
5{
11 override void OnEntry(WeaponEventBase e)
12 {
13 super.OnEntry(e);
14 m_weapon.SetJammed(true);
15 }
16
17
22 override void OnExit(WeaponEventBase e)
23 {
24 super.OnExit(e);
25 //m_weapon.SetJammed(false);
26 }
27};
28
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
Definition Guards.c:602
signalize mechanism manipulation
Definition Events.c:35
represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in)
Definition Crossbow.c:27
override void OnExit(WeaponEventBase e)
override void OnEntry(WeaponEventBase e)
handle jamming state set jam/unjam state for weapon
Definition SKS.c:53