Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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
};
ItemBase
Definition:
inventoryitem.c:730
GetGame
proto native CGame GetGame()
ActionMineBushByHand
Definition:
actionminebushbyhand.c:1
UASoftSkillsWeight
Definition:
actionconstants.c:118
CCINone
Definition:
ccinone.c:1
UAMaxDistances
Definition:
actionconstants.c:104
m_FullBody
protected bool m_FullBody
Definition:
actionbase.c:52
PlayerBase
Definition:
playerbaseclient.c:1
ActionTarget
class ActionTargets ActionTarget
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition:
dayzplayer.c:601
CCTCursor
Definition:
cctcursor.c:1
m_ConditionItem
ref CCIBase m_ConditionItem
Definition:
actionbase.c:55
ActionMineBush
Definition:
actionminebush.c:11
ActionMineBushCB
Definition:
actionminebush.c:1
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition:
actionbase.c:56
m_SpecialtyWeight
protected float m_SpecialtyWeight
Definition:
actionbase.c:68
m_StanceMask
protected int m_StanceMask
Definition:
actionbase.c:53
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
continuous
actionminebushbyhand.c
Generated by
1.8.17