herbieherb 148 Posted March 17, 2017 Im looking for a random function that outputs a list of numbers, where no number is followed by an equal number. Quote Share this post Link to post
Marissa Farrell 461 Posted March 17, 2017 Attached is a wrapper that creates a list with a set high and low value of the random numbers as well as how many numbers will appear in the list. RandomList_MFarrell.vwx Quote Share this post Link to post
herbieherb 148 Posted March 17, 2017 Thx for your help MarissaF. This is what i had so far. It gives me lists like [1; 3; 4; 4; 2; 2; 3] Now i want it to be a list that has no following equal number. instead of: 1; 3; 4; 4; 2; 2; 3 i need: 1; 3; 4; 2; 3; 1; 4 Quote Share this post Link to post
Patrick Winkler 47 Posted March 17, 2017 (edited) Hi herbie, I think realising that in pure Marionette is very complicated. (we need recursion!) Here is a node which creates a random range where no neighbouring numbers are equal. random_range_custom.vwx Edited March 17, 2017 by Patrick Winkler 1 Quote Share this post Link to post
herbieherb 148 Posted March 17, 2017 Thx a lot this is exactly what i was looking for. Quote Share this post Link to post