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

◆ TimeShift()

proto native void TimeShift ( float fShift)
private

Subtracts the supplied value from the current lifetime of all items in the world.

Заметки
Uses RadiusLifetimeDecrease under the hood and then calculates the parameters to fit the world
Will automatically clamp result between min and max lifetime [3, 316224000] (3 seconds to 10 years)
Аргументы
fShiftfloat The value in seconds which will be subtracted from the current lifetimes
// Shortens the lifetimes of all items in the world by 3 seconds
GetCEApi().TimeShift(3);
proto native CEApi GetCEApi()
Get the CE API.