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

◆ ActionCondition()

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

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

59 {
60 HumanCommandMove hcm = player.GetCommand_Move();
61 if (hcm && hcm.IsChangingStance())
62 return false;
63
64 return player && item;
65 }
proto native bool IsChangingStance()
returns true if character is changing stance
Определения human.c:434

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