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 (Add image)
 
(One intermediate revision by the same user not shown)
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.
{{Image|Random_Seed_example.png|Example}}
== Related ==
* [[Random]]


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

Latest revision as of 09:26, 22 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.

Example

Related