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

◆ DryItemsInVicinity() [2/2]

override void UniversalTemperatureSourceLambdaEngine::DryItemsInVicinity ( UniversalTemperatureSourceSettings pSettings,
vector position,
out notnull array< EntityAI > nearestObjects )

heat transfer to items (not in player possession)

getting the actual distance

min distance cannot be 0 (division by zero)

calculating the coefficient we will use to deterimne strength of drying

making sure it is between 0.0 and 1.0

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

211 {
212 m_AffectsPlayer = false;
213 }
214}
215