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

◆ ActionCondition()

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

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

30 {
31 //Action not allowed if player has broken legs
32 if (player.GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
33 return false;
34
35 Object targetObject = target.GetObject();
36 if ( targetObject.IsRock() )
37 {
38 return true;
39 }
40 return false;
41 }
eBrokenLegs
Определения EBrokenLegs.c:2
class LOD Object

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