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

◆ ActionCondition()

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

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

45 {
46 // not placeable if liquid is present; exception for barrels, for now
47 if (!item.IsKindOf("Barrel_ColorBase") && item.IsLiquidPresent())
48 return false;
49
50 return true;
51 }

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