Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionattachontentproxy.c
Go to the documentation of this file.
2 {
3  void ActionAttachOnTentProxy() {};
4 
5  override void CreateConditionComponents()
6  {
9  m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_ATTACHITEM;
10  m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
11  }
12 
13  override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
14  {
15  TentBase tent = TentBase.Cast(target.GetParent());
16  if ( !tent )
17  return false;
18 
19  return super.ActionCondition(player,target,item);
20  }
21 }
ItemBase
Definition: inventoryitem.c:730
CCTCursorParent
Definition: cctcursorparent.c:1
PlayerBase
Definition: playerbaseclient.c:1
ActionTarget
class ActionTargets ActionTarget
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition: dayzplayer.c:601
ActionAttachOnTentProxy
Definition: actionattachontentproxy.c:1
TentBase
Definition: cartent.c:1
m_ConditionItem
ref CCIBase m_ConditionItem
Definition: actionbase.c:55
CCINonRuined
Definition: ccinonruined.c:1
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition: actionbase.c:56
m_StanceMask
protected int m_StanceMask
Definition: actionbase.c:53
ActionAttachOnProxy
Definition: actionattachonproxy.c:1