Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
combatknife.c
Go to the documentation of this file.
1
class
CombatKnife
extends
ToolBase
2
{
3
void
CombatKnife()
4
{
5
}
6
7
override
bool
IsMeleeFinisher()
8
{
9
return
true
;
10
}
11
12
override
array<int>
GetValidFinishers
()
13
{
14
return
{
EMeleeHitType
.FINISHER_LIVERSTAB,
EMeleeHitType
.FINISHER_NECKSTAB};
15
}
16
17
override
void
SetActions
()
18
{
19
super.SetActions();
20
21
AddAction
(
ActionBurnSewTarget
);
22
AddAction
(
ActionUnrestrainTarget
);
23
AddAction
(
ActionSkinning
);
24
AddAction
(
ActionMineBush
);
25
AddAction
(
ActionMineTreeBark
);
26
AddAction
(
ActionBurnSewSelf
);
27
AddAction
(
ActionDigWorms
);
28
AddAction
(
ActionShaveTarget
);
29
AddAction
(
ActionDisarmMine
);
30
AddAction
(
ActionDisarmExplosive
);
31
AddAction
(
ActionShave
);
32
AddAction
(
ActionCraftBolts
);
33
}
34
}
ActionUnrestrainTarget
Definition:
actionunrestraintarget.c:55
GetValidFinishers
array< int > GetValidFinishers()
returns an array of possible finishers
Definition:
itembase.c:4618
ActionDisarmExplosive
ActionDisarmExplosiveCB ActionContinuousBaseCB ActionDisarmExplosive()
Definition:
actiondisarmexplosive.c:11
ActionBurnSewSelf
Definition:
actionburnsewself.c:9
ActionShaveTarget
Definition:
actionshavetarget.c:9
ActionDisarmMine
ActionDisinfectPlantCB ActionDisarmMine
ActionMineTreeBark
Definition:
actionminetreebark.c:1
ActionSkinning
ActionSortAmmoPileCB ActionSkinning
ActionDigWorms
Definition:
actiondigworms.c:14
ActionShave
Definition:
actionshave.c:9
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
ToolBase
Definition:
boneknife.c:1
SetActions
void SetActions()
Definition:
advancedcommunication.c:79
ActionBurnSewTarget
Definition:
actionburnsewtarget.c:9
EMeleeHitType
EMeleeHitType
Definition:
dayzplayerimplementmeleecombat.c:1
array
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition:
isboxcollidinggeometryproxyclasses.c:27
ActionMineBush
Definition:
actionminebush.c:11
ActionCraftBolts
Definition:
actioncraftbolts.c:11
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
combatknife.c
Generated by
1.8.17