Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
actionattachontentproxy.c
Go to the documentation of this file.
2{
4
5 override void CreateConditionComponents()
6 {
7 m_ConditionItem = new CCINonRuined;
8 m_ConditionTarget = new CCTCursorParent;
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}
int m_CommandUID
Definition actionbase.c:31
int m_StanceMask
Definition actionbase.c:33
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602