Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
weaponstatejammed.c
Go to the documentation of this file.
1
4
class
WeaponStateJammed
extends
WeaponStableState
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
29
WeaponEventBase
signalize mechanism manipulation
Definition:
events.c:34
m_weapon
class WeaponGuardIsDestroyed extends WeaponGuardBase m_weapon
Definition:
guards.c:583
WeaponStateJammed
handle jamming state set jam/unjam state for weapon
Definition:
sks.c:52
WeaponStableState
represents weapon's stable state (i.e. the basic states that the weapon will spend the most time in)
Definition:
crossbow.c:26
DAYZ
scripts_v1.24.157551
scripts
world
entities
firearms
fsm
states
weaponstatejammed.c
Generated by
1.8.17