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

◆ EEOnCECreate()

override void EEOnCECreate ( )
protected

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

2680 {
2681
2682 float maxVolume = GetFluidCapacity( CarFluid.FUEL );
2683 float amount = Math.RandomFloat(0.0, maxVolume * 0.35 );
2684
2685 Fill( CarFluid.FUEL, amount );
2686 }
CarFluid
Type of vehicle's fluid. (native, do not change or extend)
Определения Car.c:19
Определения EnMath.c:7
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].

Перекрестные ссылки Math::RandomFloat().