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

◆ ActionCondition()

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

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

15 {
16 HumanCommandLadder cl = player.GetCommand_Ladder();
17 if (cl && cl.CanExit())
18 {
19 return true;
20 }
21
22 //if ( action_data.m_Player.IsOnLadder() ) return true;
23 return false;
24 }
proto native bool CanExit()
returns true if on exiting point
void HumanCommandLadder()
Определения human.c:674

Перекрестные ссылки ActionTarget и HumanCommandLadder::CanExit().