DayZ
1.24
Loading...
Searching...
No Matches
ActionAttachOnTrap.c
Go to the documentation of this file.
1
class
ActionAttachOnTrap
: ActionAttach
2
{
3
override
bool
ActionCondition
(
PlayerBase
player
, ActionTarget
target
,
ItemBase
item
)
4
{
5
if
(
target
&& !
target
.GetObject().IsInherited(
TrapBase
))
6
return
false
;
7
8
return
super
.ActionCondition(
player
,
target
,
item
);
9
}
10
}
ActionAttachOnTrap
Definition
ActionAttachOnTrap.c:2
ActionAttachOnTrap::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition
ActionAttachOnTrap.c:3
ItemBase
Definition
InventoryItem.c:697
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
TrapBase
Definition
Trap_Bear.c:2
scripts
4_World
Classes
UserActionsComponent
Actions
SingleUse
ActionAttachOnTrap.c
Generated by
1.10.0