DayZ 1.24
Loading...
Searching...
No Matches
CattleProd.c
Go to the documentation of this file.
2{
3 protected int m_MeleeMode;
4 protected int m_MeleeHeavyMode;
5 protected int m_MeleeSprintMode;
6
7 void CattleProd()
8 {
9 m_MeleeMode = 0;
12 }
13
14 override void OnWorkStart()
15 {
17 m_MeleeMode = 3;
20 }
21
22 override void OnWorkStop()
23 {
25 m_MeleeMode = 0;
28 }
29
30 override int GetMeleeMode()
31 {
32 return m_MeleeMode;
33 }
34
35 override int GetMeleeHeavyMode()
36 {
37 return m_MeleeHeavyMode;
38 }
39
40 override int GetMeleeSprintMode()
41 {
42 return m_MeleeSprintMode;
43 }
44
45 override void SetActions()
46 {
47 super.SetActions();
50 }
51}
void AddAction(typename actionName)
override void OnWorkStop()
Definition CattleProd.c:22
void CattleProd()
Definition CattleProd.c:7
override void OnWorkStart()
Definition CattleProd.c:14
override int GetMeleeSprintMode()
Definition CattleProd.c:40
override int GetMeleeHeavyMode()
Definition CattleProd.c:35
int m_MeleeHeavyMode
Definition CattleProd.c:4
override void SetActions()
Definition CattleProd.c:45
int m_MeleeMode
Definition CattleProd.c:3
override int GetMeleeMode()
Definition CattleProd.c:30
int m_MeleeSprintMode
Definition CattleProd.c:5