DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ActionCondition()

override bool ActionDestroyCombinationLock::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

См. определение в файле ActionDestroyCombinationLock.c строка 29

30 {
31 Object target_object = target.GetObject();
32 string selection = target_object.GetActionComponentName( target.GetComponentIndex() );
33 Fence fence = Fence.Cast( target_object );
34
35 if ( fence && fence.IsLocked() && selection == "wall_interact" )
36 {
37 return true;
38 }
39
40 return false;
41 }
class LOD Object

Перекрестные ссылки ActionTarget.