Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actioninteractloopbase.c
Go to the documentation of this file.
2{
3
5 {
6 if ( !m_ActionData )
7 {
9 }
10 //SetCommand(DayZPlayerConstants.CMD_ACTIONINT_ACTIONLOOP);
11 //Print("cancel condition enabled: " + GetState().ToString() );
13 {
15 action.Do(m_ActionData,m_ActionData.m_State);
16 }
17 return DefaultCancelCondition();
18 }
19
20 override void CreateActionComponent()
21 {
22 m_ActionData.m_ActionComponent = new CAInteract;
23 }
24
25 override void InitActionComponent()
26 {
27 super.InitActionComponent();
29 }
30
31};
32
ActionData m_ActionData
void Do(ActionData action_data, int state)
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602
proto native void EnableCancelCondition(bool pEnable)
enables calling cancel condition default is disabled when enabled - there must be a function "bool Ca...
static const int STATE_LOOP_LOOP
Definition human.c:353
proto native int GetState()
returns one of STATE_...
static const int STATE_LOOP_LOOP2
Definition human.c:356
proto native bool DefaultCancelCondition()
system implemented cancel condition (now raise or sprint cancels action)