39 if ( target_IB.IsLockedInSlot() )
41 else if ( target_IB.IsAlive() )
64 if ( target_IB && parent_EAI )
72 bool isPresent = targetDoor.GetInventory().GetCurrentInventoryLocation( loc );
74 if ( !isPresent || loc.
GetSlot() == -1 )
84 if ( target_IB.IsLockedInSlot() )
86 else if ( target_IB.IsAlive() )
88 else if ( !target_IB.IsLockedInSlot() )
91 targetType = target_IB.GetLockType();
93 for (
int i = 0; i < compLock.Count(); i++)
95 if ( targetType == compLock[i] && targetType !=
eLockTypes.NONE)
106 super.OnStartAnimationLoop( action_data );
128 super.OnEndAnimationLoop( action_data );
142 MiscGameplayFunctions.DealAbsoluteDmg(action_data.
m_MainItem, 5);
144 if (target_IB.IsLockedInSlot())
146 target_IB.UnlockFromParent();
150 target_IB.LockToParent();
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
protected int m_StanceMask
class ActionTargets ActionTarget
void CreateActionComponent()
ref ActionTarget m_Target
override void OnFinishProgressServer(ActionData action_data)
override void OnActionInfoUpdate(PlayerBase player, ActionTarget target, ItemBase item)
override void OnStartAnimationLoop(ActionData action_data)
void ActionLockAttachment()
private const string UNLOCK_VERSION
override void CreateConditionComponents()
override void OnEndAnimationLoop(ActionData action_data)
override void OnEnd(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
private const string LOCK_VERSION
protected int m_CommandUID
protected m_CallbackClass
void RPCSingleParam(Object target, int rpc_type, Param param, bool guaranteed, PlayerIdentity recipient=null)
see CGame.RPC
override int GetCarDoorsState(string slotType)
proto native int GetSlot()
returns slot id if current type is Attachment
provides access to slot configuration
static proto native owned string GetSlotName(int id)
converts slot_id to string
const float BASEBUILDING_REPAIR_FAST
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++
proto native CGame GetGame()