DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
HandDrillKit.c
См. документацию.
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()
Определения ActionLightItemOnFire.c:11
void AddAction(typename actionName)
Определения AdvancedCommunication.c:220
Определения Building.c:6
override void SetActions()
Определения HandDrillKit.c:25
override void OnIgnitedTargetFailed(EntityAI target_item)
Определения HandDrillKit.c:17
override void OnIgnitedTarget(EntityAI target_item)
Определения HandDrillKit.c:9
override bool CanIgniteItem(EntityAI ignite_target=NULL)
Override this method and and check if the given item can be ignited. It is not necesarry to check her...
Определения HandDrillKit.c:4
Определения InventoryItem.c:731
proto native CGame GetGame()