30 if (player.IsPlacingLocal())
38 if (bodyEAI && !bodyEAI.IsAlive() && (bodyEAI.IsInherited(
DayZCreature) || bodyEAI.IsInherited(Man) || bodyEAI.IsInherited(DeadChicken_ColorBase) ) && !bodyEAI.GetParent())
44 if (
GetGame().IsSurfaceDigable(surfaceType))
56 g_Game.ObjectDelete(targetObject);
58 MiscGameplayFunctions.DealAbsoluteDmg(action_data.
m_MainItem, 4);
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
protected int m_StanceMask
class ActionTargets ActionTarget
protected ActionData m_ActionData
override void CreateActionComponent()
override void OnFinishProgressServer(ActionData action_data)
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
ref CABase m_ActionComponent
ref ActionTarget m_Target
protected int m_CommandUID
protected m_CallbackClass
proto void SurfaceUnderObject(notnull Object object, out string type, out int liquidType)
Super root of all classes in Enforce script.
DayZPlayerConstants
defined in C++
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.