Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
handdrillkit.c
Go to the documentation of this file.
1class HandDrillKit extends ItemBase
2{
4 override bool CanIgniteItem( EntityAI ignite_target = NULL )
5 {
6 return true;
7 }
8
9 override void OnIgnitedTarget( EntityAI target_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
30 }
31
32 /*
33 override bool IsTargetIgnitionSuccessful( EntityAI item_target = NULL )
34 {
35 }
36 */
37}
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
void AddAction(typename actionName)
void SetActions()
proto native CGame GetGame()