35 if (
Class.
CastTo(explosive, target.GetObject()) && item)
37 return explosive.GetArmed() && explosive.CanBeDisarmed();
53 explosive.Disarm(
true);
57 explosive.SetHealth(
"",
"", 0.0);
void CreateConditionComponents()
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
protected int m_StanceMask
ActionDisarmExplosiveCB ActionContinuousBaseCB ActionDisarmExplosive()
class ActionTargets ActionTarget
protected ActionData m_ActionData
protected void OnFinishProgressServer(ActionData action_data)
ref CABase m_ActionComponent
ref ActionTarget m_Target
override void CreateActionComponent()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Super root of all classes in Enforce script.
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].