DayZ 1.24
Loading...
Searching...
No Matches
ActionAttachOnTentProxy.c
Go to the documentation of this file.
2{
4
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}
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
int m_StanceMask
Definition ActionBase.c:53
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597