DayZ
1.24
Loading...
Searching...
No Matches
ActionMineBushByHand.c
Go to the documentation of this file.
1
class
ActionMineBushByHand
:
ActionMineBush
2
{
3
void
ActionMineBushByHand
()
4
{
5
m_CallbackClass
=
ActionMineBushCB
;
6
m_CommandUID
=
DayZPlayerConstants
.CMD_ACTIONFB_INTERACT;
7
m_FullBody
=
true
;
8
m_StanceMask
=
DayZPlayerConstants
.STANCEMASK_CROUCH |
DayZPlayerConstants
.STANCEMASK_ERECT;
9
m_SpecialtyWeight
=
UASoftSkillsWeight
.
ROUGH_HIGH
;
10
}
11
12
override
void
CreateConditionComponents
()
13
{
14
m_ConditionTarget
=
new
CCTCursor
(
UAMaxDistances
.
DEFAULT
);
15
m_ConditionItem
=
new
CCINone
;
16
}
17
18
override
bool
ActionCondition
(
PlayerBase
player
, ActionTarget
target
,
ItemBase
item
)
19
{
20
if
(
GetGame
().IsMultiplayer() &&
GetGame
().IsServer())
21
return
true
;
22
23
return
(
super
.ActionCondition(
player
,
target
,
item
) && !
item
);
24
}
25
};
m_FullBody
bool m_FullBody
Definition
ActionBase.c:52
m_ConditionItem
ref CCIBase m_ConditionItem
Definition
ActionBase.c:55
m_SpecialtyWeight
float m_SpecialtyWeight
Definition
ActionBase.c:68
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition
ActionBase.c:56
m_StanceMask
int m_StanceMask
Definition
ActionBase.c:53
ActionMineBushByHand
Definition
ActionMineBushByHand.c:2
ActionMineBushByHand::ActionMineBushByHand
void ActionMineBushByHand()
Definition
ActionMineBushByHand.c:3
ActionMineBushByHand::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition
ActionMineBushByHand.c:18
ActionMineBushByHand::CreateConditionComponents
override void CreateConditionComponents()
Definition
ActionMineBushByHand.c:12
ActionMineBushCB
Definition
ActionMineBush.c:2
ActionMineBush
Definition
ActionMineBush.c:12
AnimatedActionBase::m_CommandUID
int m_CommandUID
Definition
AnimatedActionBase.c:122
AnimatedActionBase::m_CallbackClass
m_CallbackClass
Definition
AnimatedActionBase.c:124
CCINone
Definition
CCINone.c:2
CCTCursor
Definition
CCTCursor.c:2
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
UAMaxDistances
Definition
ActionConstants.c:105
UAMaxDistances::DEFAULT
const float DEFAULT
Definition
ActionConstants.c:107
UASoftSkillsWeight
Definition
ActionConstants.c:119
UASoftSkillsWeight::ROUGH_HIGH
const float ROUGH_HIGH
Definition
ActionConstants.c:122
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:597
GetGame
proto native CGame GetGame()
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
ActionMineBushByHand.c
Generated by
1.10.0