Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionforcefeed.c
Go to the documentation of this file.
2{
7}
8
10{
11 void ActionForceFeed()
12 {
13 m_CallbackClass = ActionForceFeedCB;
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_FORCEFEED;
15 m_FullBody = true;
16 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
17 m_Text = "#feed";
18 }
19
21 {
22 m_ConditionTarget = new CCTMan(UAMaxDistances.DEFAULT);
23 m_ConditionItem = new CCINonRuined();
24 }
25}
26
27
28//-----------------SMALL BITES VARIANT-------------------
29
37
39{
41 {
42 m_CallbackClass = ActionForceFeedSmallCB;
43 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_FORCEFEED;
44 m_FullBody = true;
45 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
46 }
47
49 {
50 m_ConditionTarget = new CCTMan(UAMaxDistances.DEFAULT);
51 m_ConditionItem = new CCINonRuined();
52 }
53
54 override string GetText()
55 {
56 return "#feed";
57 }
58}
override void CreateConditionComponents()
int m_CommandUID
Definition actionbase.c:31
int m_StanceMask
Definition actionbase.c:33
void ActionForceConsume()
ActionForceFeedSmallCB ActionForceFeed
ActionData m_ActionData
override void CreateActionComponent()
override void CreateActionComponent()
override void CreateConditionComponents()
override string GetText()
Definition cctman.c:2
const float DEFAULT
const float EAT_NORMAL
const float DEFAULT
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602