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

◆ ActionCondition()

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

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

79 {
80 HumanCommandMove hcm = player.GetCommand_Move();
81 if (hcm && hcm.IsChangingStance())
82 return false;
83
84 return player && item;
85 }
proto native bool IsChangingStance()
returns true if character is changing stance
Определения human.c:434

Перекрестные ссылки ActionTarget и HumanCommandMove::IsChangingStance().