42 if (
player.IsPlacingLocal())
75 worms.SetQuantity(10,
false);
82 if (
item.KindOf(
"Knife"))
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
const int ECE_PLACE_ON_SURFACE
ref CABase m_ActionComponent
override void CreateActionComponent()
override void OnFinishProgressServer(ActionData action_data)
override bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
bool IsPlayerOnGround(PlayerBase player)
override bool ActionConditionContinue(ActionData action_data)
void SetDiggingAnimation(ItemBase item)
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool Can(PlayerBase player, ActionTarget target, ItemBase item, int condition_mask)
bool IsTargetFertile(ActionTarget target)
override bool HasTarget()
Super root of all classes in Enforce script.
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
static const vector Forward
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.