DayZ
1.24
Loading...
Searching...
No Matches
ActionAttachOnTentProxy.c
Go to the documentation of this file.
1
class
ActionAttachOnTentProxy
:
ActionAttachOnProxy
2
{
3
void
ActionAttachOnTentProxy
() {};
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
}
m_ConditionItem
ref CCIBase m_ConditionItem
Definition
ActionBase.c:55
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition
ActionBase.c:56
m_StanceMask
int m_StanceMask
Definition
ActionBase.c:53
ActionAttachOnProxy
Definition
ActionAttachOnProxy.c:2
ActionAttachOnTentProxy
Definition
ActionAttachOnTentProxy.c:2
ActionAttachOnTentProxy::CreateConditionComponents
override void CreateConditionComponents()
Definition
ActionAttachOnTentProxy.c:5
ActionAttachOnTentProxy::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition
ActionAttachOnTentProxy.c:13
ActionAttachOnTentProxy::ActionAttachOnTentProxy
void ActionAttachOnTentProxy()
Definition
ActionAttachOnTentProxy.c:3
CCINonRuined
Definition
CCINonRuined.c:2
CCTCursorParent
Definition
CCTCursorParent.c:2
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
TentBase
Definition
CarTent.c:2
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:597
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionAttachOnTentProxy.c
Generated by
1.10.0