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

◆ RadiusLifetimeDecrease()

proto native void RadiusLifetimeDecrease ( vector vCenter,
float fRadius,
float fValue )
private

Process lifetime decrease within radius by value (sec)

Заметки
Will automatically clamp result between min and max lifetime [3, 316224000] (3 seconds to 10 years)
Аргументы
vCentervector The center point
fRadiusfloat The radius around the center point
fValuefloat The value to decrease the lifetime by
GetCEApi().RadiusLifetimeDecrease(Vector(500, 0, 500), 3, 500);
proto native CEApi GetCEApi()
Get the CE API.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.