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

◆ IsTargetFertile()

bool ActionDigWorms::IsTargetFertile ( ActionTarget target)
inlineprivate

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

71 {
72 if (target)
73 {
74 string surface_type;
75 vector position;
76 position = target.GetCursorHitPos();
77
78 g_Game.SurfaceGetType(position[0], position[2], surface_type);
79
80 if (g_Game.IsSurfaceFertile(surface_type))
81 {
82 return true;
83 }
84 }
85
86 return false;
87 }
DayZGame g_Game
Определения DayZGame.c:4074
vector position
Определения DustKickupEffects.c:20

Перекрестные ссылки ActionTarget(), g_Game и position.

Используется в ActionCondition().