Thread: [DFX2] Is RaNDom truly random?
View Single Post
  #4  
Old 04-24-2016, 04:41 AM
Baldo_the_Don is offline Baldo_the_Don
Baldo_the_Don's Avatar
Registered User

Join Date: Jul 2012
Posts: 585

I just tried this:

Code:
if random 3 then set v1 1 else
if eq rnd 2 then set v1 2 else
if eq rnd 3 then set v1 3
endif
endif
endif

if ontick 3 then
if eq v1 1 then ssntowp 4 1 endif
if eq v1 2 then ssntowp 4 2 endif
if eq v1 3 then ssntowp 4 3 endif
endif

text# "Random =" rnd
SSN 4 redirects to WP 2 on tick 2, WP 1 on tick 3, and WP 3 on tick 4. This remains consistent over multiple restarts.

For fun, I changed "if random 3" to 6. The text displayed 5 more rarely than I expected. Did not note which WPs got the redirect, though.

I'm convinced truer randomness depends on when and how the redirect is triggered.



Edit: I'm aware that leaving the "text#" action untagged is bad form, but I think it's acceptable for testing purposes.
__________________
////////////////////<- SIGNATURE STARTS ->\\\\\\\\\\\\\\\\\\\\\
The NSO Deadline Mod at NovaHQ.net:
/////////////////////<- SIGNATURE ENDS ->\\\\\\\\\\\\\\\\\\\\\\
Reply With Quote