17 m_Text =
"#fix_persons_fracture";
31 action_data.
m_MainItem.TransferModifiers(ntarget);
32 ntarget.ApplySplint();
34 ItemBase new_item =
ItemBase.Cast(ntarget.GetInventory().CreateInInventory(
"Splint_Applied"));
37 MiscGameplayFunctions.TransferItemProperties(action_data.
m_MainItem,new_item,
true,
false,
true);
42 ntarget.SetBrokenLegs(
eBrokenLegs.BROKEN_LEGS_SPLINT);
56 return super.ActionCondition(player, target, item);
62 if ( player.GetItemOnSlot(
"Splint_Right") )
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
bool CanReceiveAction(ActionTarget target)
protected bool m_FullBody
class ActionTargets ActionTarget
protected ActionData m_ActionData
ref CABase m_ActionComponent
ref ActionTarget m_Target
override void CreateActionComponent()
override void OnFinishProgressServer(ActionData action_data)
void ActionSplintTarget()
override void CreateConditionComponents()
bool IsWearingSplint(PlayerBase player)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
protected int m_CommandUID
protected m_CallbackClass
DayZPlayerConstants
defined in C++