40 if (explosive.IsRuined() || !explosive.GetArmed() || !explosive.CanBeDisarmed())
51 if (!explosive.IsInherited(
ClaymoreMine) && attachedReceiver && attachedReceiver.IsRuined())
64 RemoteDetonator rd = RemoteDetonator.Cast(item);
75 super.OnStartServer(action_data);
78 if (item.GetDisarmSoundsetUnpaired() !=
string.Empty)
79 item.StartItemSoundServer(SoundConstants.ITEM_EXPLOSIVE_DISARM_UNPAIRED);
84 super.OnEndServer(action_data);
87 if (item.GetDisarmSoundsetUnpaired() !=
string.Empty)
88 item.StopItemSoundServer(SoundConstants.ITEM_EXPLOSIVE_DISARM_UNPAIRED);
97 target.SetTakeable(
true);
107 MiscGameplayFunctions.TurnItemIntoItemEx(action_data.
m_Player, lambda);
109 action_data.
m_Player.GetItemAccessor().OnItemInHandsChanged();
override void OnFinishProgressServer(ActionData action_data)
void OnEndServer(ActionData action_data)
void CreateConditionComponents()
ref CCIBase m_ConditionItem
void OnStartServer(ActionData action_data)
ref CCTBase m_ConditionTarget
bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
ActionDisarmExplosiveWithRemoteDetonatorCB ActionDisarmExplosiveCB ActionDisarmExplosiveWithRemoteDetonator()
ActionDisarmExplosiveWithRemoteDetonatorUnpairedCB ActionDisarmExplosiveCB ActionDisarmExplosiveWithRemoteDetonatorUnpaired()
void ActionTarget(Object object, Object parent, int componentIndex, vector cursorHitPos, float utility, string surfaceName="")
RemoteDetonatorTrigger RemoteDetonator RemoteDetonatorReceiver()
ref ActionTarget m_Target
override void CreateActionComponent()
EntityAI GetControlledDevice()
base class for transformation operations (creating one item from another)
const float DISARM_EXPLOSIVE_REMOTE_UNPAIRED
DayZPlayerConstants
defined in C++