DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Land_WaterWell_Brick.c
См. документацию.
2{
3 override int GetLiquidSourceType()
4 {
5 Rebuilding reb;
6 if (Class.CastTo(reb,GetConstructionBasic()) && reb.IsPartConstructed("roof"))
8 return LIQUID_NONE;
9 }
10
12 {
13 Rebuilding reb;
14 if (Class.CastTo(reb,GetConstructionBasic()) && reb.IsPartConstructed("roof"))
15 return EWaterSourceObjectType.WELL;
16 else
17 return EWaterSourceObjectType.NONE;
18 }
19
20 override void OnDebugSpawn()
21 {
23
24 con.BuildPartServerEx(null,"rubble_rubble1",-1);
25 con.BuildPartServerEx(null,"well_brick",-1);
26 con.BuildPartServerEx(null,"roof",-1);
27 }
28
29 override void SetActions()
30 {
31 super.SetActions();
32
34
36 }
37}
override ConstructionBasic GetConstructionBasic()
ActionDrinkWellContinuousCB ActionContinuousBaseCB ActionDrinkWellContinuous()
Определения ActionDrinkWellContinuous.c:11
void AddAction(typename actionName)
Определения AdvancedCommunication.c:220
void RemoveAction(typename actionName)
Определения AdvancedCommunication.c:252
void ConstructionBase(EntityAI parent)
Определения ConstructionBase.c:58
EWaterSourceObjectType
Определения EWaterSourceObjectType.c:2
Super root of all classes in Enforce script.
Определения EnScript.c:11
override void OnDebugSpawn()
Определения Land_WaterWell_Brick.c:20
override EWaterSourceObjectType GetWaterSourceObjectType()
Определения Land_WaterWell_Brick.c:11
override void SetActions()
Определения Land_WaterWell_Brick.c:29
override int GetLiquidSourceType()
Определения Land_WaterWell_Brick.c:3
Определения Rebuilding.c:2
Определения Land_Misc_Well_Pump_Blue.c:2
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
const int LIQUID_NONE
Определения 3_Game/DayZ/constants.c:566
const int LIQUID_CLEANWATER
Определения 3_Game/DayZ/constants.c:591