DayZ 1.27
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 if (player.GetCommand_Vehicle())
65 return false;
66
67 return player && item;
68 }
proto native bool IsChangingStance()
returns true if character is changing stance
Определения human.c:434

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