Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
chainsaw.c
Go to the documentation of this file.
1
class
Chainsaw
extends
Switchable_Base
2
{
3
override
bool
CanPutInCargo
(
EntityAI
parent )
4
{
5
if
( !super.CanPutInCargo(parent) ) {
return
false
;}
6
if
( !GetCompEM().IsSwitchedOn() )
7
{
8
return
true
;
9
}
10
return
false
;
11
}
12
13
override
void
SetActions
()
14
{
15
super.SetActions();
16
AddAction
(
ActionSawPlanks
);
17
AddAction
(
ActionDestroyPart
);
18
}
19
}
AddAction
void AddAction(typename actionName)
Definition
advancedcommunication.c:220
SetActions
void SetActions()
Definition
advancedcommunication.c:213
ActionDestroyPart
Definition
actiondestroypart.c:10
ActionSawPlanks
Definition
actionsawplanks.c:41
EntityAI
Definition
building.c:6
Switchable_Base
Definition
chainsaw.c:2
CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition
explosivesbase.c:277
Daten
4_world
entities
itembase
switchable_base
chainsaw.c
Generated by
1.12.0