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

◆ RadiusLifetimeIncrease()

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

Process lifetime increase 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 increase the lifetime by
Заметки
When 0, this will reset it to default instead (but it's better to use RadiusLifetimeReset still)
GetCEApi().RadiusLifetimeIncrease(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.