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

◆ CreateActionComponent()

override void ActionDigWormsCB::CreateActionComponent ( )
inlineprivate

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

4 {
5 float time_spent;
6 time_spent = UATimeSpent.DIG_WORMS;
7 if (m_ActionData.m_MainItem.KindOf("Knife"))
8 time_spent = time_spent * 1.2;
9
10 if (m_ActionData.m_Player.GetInColdArea())
11 time_spent *= GameConstants.COLD_AREA_DIG_WORMS_MODIF;
12
13 m_ActionData.m_ActionComponent = new CAContinuousRepeat(time_spent);
14 }
ActionData m_ActionData
Определения AnimatedActionBase.c:3

Перекрестные ссылки GameConstants::COLD_AREA_DIG_WORMS_MODIF, UATimeSpent::DIG_WORMS и ActionBaseCB::m_ActionData.