Dayz Explorer
1.28.160049
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
{
7
return
false
;
8
}
9
10
return
super.ActionCondition(player, target, item);
11
}
12
}
ActionAttachOnTrap
Definition
actionattachontrap.c:2
ItemBase
Definition
inventoryitem.c:731
PlayerBase
Definition
playerbaseclient.c:2
TrapBase
Definition
trap_bear.c:2
Daten
4_world
classes
useractionscomponent
actions
singleuse
actionattachontrap.c
Generated by
1.12.0