Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
handdrillkit.c
Go to the documentation of this file.
1
class
HandDrillKit
extends
ItemBase
2
{
4
override
bool
CanIgniteItem(
EntityAI
ignite_target = NULL )
5
{
6
return
true
;
7
}
8
9
override
void
OnIgnitedTarget(
EntityAI
ignited_item )
10
{
11
if
(
GetGame
().IsServer() )
12
{
13
DecreaseHealth( 20 );
14
}
15
}
16
17
override
void
OnIgnitedTargetFailed(
EntityAI
target_item )
18
{
19
if
(
GetGame
().IsServer() )
20
{
21
DecreaseHealth( 20 );
22
}
23
}
24
25
override
void
SetActions
()
26
{
27
super.SetActions();
28
29
AddAction
(
ActionLightItemOnFire
);
30
}
31
32
/*
33
override bool IsTargetIgnitionSuccessful( EntityAI item_target = NULL )
34
{
35
}
36
*/
37
}
ItemBase
Definition:
inventoryitem.c:730
GetGame
proto native CGame GetGame()
ActionLightItemOnFire
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
Definition:
actionlightitemonfire.c:11
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
SetActions
void SetActions()
Definition:
advancedcommunication.c:79
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
handdrillkit.c
Generated by
1.8.17