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

◆ Randomize()

static proto int Math::Randomize ( int seed)
staticprivate

Sets the seed for the random number generator.

Аргументы
seedint New seed for the random number generator, -1 will use time
Возвращает
int - Returns new seed
Print( Math.Randomize(5) );
>> 5
proto void Print(void var)
Prints content of variable to console/log.
void Math()
Определения EnMath.c:8

Используется в AttachBleedingToZonesByHeight(), CGame::CGame(), ChooseAttack(), AreaDamageBase::GetRandomHitZone(), GetRandomLoadingBackground(), KuruShake::KuruShake(), CGame::OnAfterCreate(), FireworksLauncher::OnVariablesSynchronized(), Randomize(), RandomizedDeviation() и ScriptedWidgetEventHandler::RandomizePageIndex().