29 if (
IsWearingGag(targetPlayer) && null == player.GetHumanInventory().GetEntityInHands())
45 if (attachment && attachment.GetType() ==
"MouthRag")
48 lamb.SetTransferParams(
true,
true,
true,
false, 1);
49 action_data.m_Player.ServerReplaceItemElsewhereWithNewInHands(lamb);
58 if (attachment && attachment.GetType() ==
"MouthRag")
class ActionTargets ActionTarget
ref CCIBase m_ConditionItem
bool CanReceiveAction(ActionTarget target)
ref CCTBase m_ConditionTarget
void ActionContinuousBase()
bool IsWearingGag(PlayerBase player)
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnFinishProgressServer(ActionData action_data)
Super root of all classes in Enforce script.
provides access to slot configuration
DayZPlayerConstants
defined in C++
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.