Random Seed: Difference between revisions

From Fancade Wiki
(Created page with "Sets the seed used by the Random script. /uploads/Random Seed.png Normally, values that the Random script ouputs will be diffrent each time. By changing the Random Seed, each following executed Random script will output the same values every time. File:Random-Seed-seed-no-seed.jpg Category:Blocks ")
 
m (Create infobox, repair formatting, add section Related)
Line 1: Line 1:
{{Block
|image=Random Seed.png
|type=s
|folder=Math
|input1={{Port|e|Before}}
|input2={{Port|n|Seed}}
|output1={{Port|e|After}}
}}
Sets the seed used by the [[Random]] script.
Sets the seed used by the [[Random]] script.
[[width=336px,alt=Random Seed|/uploads/Random Seed.png]]
Normally, values that the Random script ouputs will be diffrent each time.
By changing the Random Seed, each following executed Random script will output the same values every time.
[[File:Random-Seed-seed-no-seed.jpg]]


Normally, values that the Random script outputs will be different each time.
By changing the Random Seed to an unchanging value, each following executed Random script will output the same values every time.
[[File:Random_Seed_seed_no_seed.jpg]]
== Related ==
* [[Random]]


[[Category:Blocks]]
[[Category:Blocks]]

Revision as of 05:21, 21 May 2024

Random Seed
Random Seed.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Before
Seed
Outputs After

Sets the seed used by the Random script.

Normally, values that the Random script outputs will be different each time. By changing the Random Seed to an unchanging value, each following executed Random script will output the same values every time.

File:Random Seed seed no seed.jpg

Related