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

◆ InitDOFProperties()

bool Weapon::InitDOFProperties ( out array< float > temp_array)
inlineprotected

Initializes DOF properties for weapon's ironsight/optics cameras.

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

1286 {
1287 if (GetGame().ConfigIsExisting("cfgWeapons " + GetType() + " PPDOFProperties"))
1288 {
1289 GetGame().ConfigGetFloatArray("cfgWeapons " + GetType() + " PPDOFProperties", temp_array);
1290 return true;
1291 }
1292 return false;
1293 }
eBleedingSourceType GetType()
proto native void ConfigGetFloatArray(string path, out TFloatArray values)
Get array of floats from config on path.
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetFloatArray(), GetGame() и GetType().

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