Dayz Explorer 1.28.160049
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 {
7 return false;
8 }
9
10 return super.ActionCondition(player, target, item);
11 }
12}