168 if (
target_obj.IsKindOf(
"Animal_CapreolusCapreolus") ||
target_obj.IsKindOf(
"Animal_CapreolusCapreolusF") ||
target_obj.IsKindOf(
"Animal_CervusElaphus") ||
target_obj.IsKindOf(
"Animal_CervusElaphusF"))
169 GetGame().GetAnalyticsClient().OnActionFinishedGutDeer();
179 if (
body.IsRestrained() &&
body.GetHumanInventory().GetEntityInHands())
183 if (
body.IsWearingSplint())
194 if (
newItem.GetHealthLevel() < 4)
289 for (
int z = 0; z <
itemZones.Count(); z++)
319 if (
body.IsKindOf(
"SurvivorBase"))
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void CreateConditionComponents()
float GetSpecialtyWeight()
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void SpawnItems(ActionData action_data)
void DropInventoryItems(PlayerBase body, float newLifetime)
vector GetRandomPos(vector body_pos)
void HandlePlayerBody(ActionData action_data)
This section drops all clothes (and attachments) from the dead player before deleting their body.
ActionSkinningCB ActionContinuousBaseCB ActionSkinning()
ItemBase CreateOrgan(PlayerBase player, vector body_pos, string item_to_spawn, string cfg_skinning_organ_class, ItemBase tool)
proto native CEApi GetCEApi()
Get the CE API.
const int ECE_PLACE_ON_SURFACE
PluginBase GetPlugin(typename plugin_type)
void OnFinishProgressClient(ActionData action_data)
void OnFinishProgressServer(ActionData action_data)
ref CABase m_ActionComponent
override void CreateActionComponent()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Super root of all classes in Enforce script.
const float PRECISE_MEDIUM
DayZPlayerConstants
defined in C++
InventoryTraversalType
tree traversal type, for more see http://en.wikipedia.org/wiki/Tree_traversal
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
const float DAMAGE_BADLY_DAMAGED_VALUE
const float DAMAGE_RUINED_VALUE
const float DAMAGE_DAMAGED_VALUE
const float DAMAGE_WORN_VALUE
const int STATE_BADLY_DAMAGED
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float Floor(float f)
Returns floor of value.
static proto float Round(float f)
Returns mathematical round of value.
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].