DayZ 1.24
Loading...
Searching...
No Matches
ActionAttachOnTrap.c
Go to the documentation of this file.
1class 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}
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)