Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionattachontrap.c
Go to the documentation of this file.
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 }
ItemBase
Definition: inventoryitem.c:730
ActionAttachOnTrap
Definition: actionattachontrap.c:1
PlayerBase
Definition: playerbaseclient.c:1
ActionTarget
class ActionTargets ActionTarget
ActionAttach
ActionAttachWheels ActionAttach
TrapBase
Definition: trap_bear.c:1