Simplest random trigger #2317
Unanswered
tema-fakov
asked this question in
Feature Request
Replies: 2 comments 1 reply
-
That would make for instance win pose selection a lot easier to write/read. I like it. Not sure how to do a trigger with N parameters or if it's worth the trouble though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The ability to select a random number from a range is also lacking. Something like: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
randomly select one value from values listed in parentheses
randomFrom ( a1, a2, a3 … aX )
a1, a2, a3 … aX = integer or float
randomFrom (1) // 100% = 1
randomFrom (0, 1) // 50% = 0, 50% = 1
randomFrom (-1, 0, 1) // 33% = -1, 33% = 0, 33% = 1
and so on
randomFrom (-2, 14000, 14001, 14050);
randomFrom (-2, -2, 0, 0.1, 1000, -6666, 25.2, 6, 888 );
Additional context
No response
Search terms
No response
Beta Was this translation helpful? Give feedback.
All reactions