[Plugin] Smart Random

Post your completed addons to share with the community

Post » Tue Oct 11, 2016 4:25 pm

@blackhornet thank you so much
B
13
S
3
G
1
Posts: 2
Reputation: 1,229

Post » Fri Oct 28, 2016 5:52 pm

How would you do a dice in a turn-based board game with this? (#FirstRealProject) I have about 3 days.
B
4
Posts: 20
Reputation: 254

Post » Fri Oct 28, 2016 6:26 pm

Do a New( 1,6,1 ), and get the value with Next.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Fri Oct 28, 2016 6:42 pm

'Next'? (Sorry for being a baka (idiot))
B
4
Posts: 20
Reputation: 254

Post » Fri Oct 28, 2016 7:04 pm

Image
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Mon Oct 31, 2016 5:48 pm

Oooookay. Thanks! Appreciate the quick response and help!
B
4
Posts: 20
Reputation: 254

Post » Wed Mar 15, 2017 3:38 pm

I have a question. How do I pick one number and randomize numbers close to it?
B
9
S
1
Posts: 9
Reputation: 445

Post » Wed Mar 15, 2017 3:49 pm

http://www.blackhornettechnologies.com/Construct2Stuff/SmartRandomBaseAndRange.capx
Use the array as an offset from your base number, using the array as a range.
If your base=12, your range is 6 (or +/-3), X=Base + RND - Range/2, or 12 + RND - 3, where RND is a number between 0 and 5.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Thu Mar 16, 2017 3:21 pm

Thanks alot! But how do I pick 3-4 numbers from the range that has been RND and display it to the text?
B
9
S
1
Posts: 9
Reputation: 445

Post » Thu Mar 16, 2017 5:00 pm

Nevermind. I think I have just figured it out by myself. Thanks again !
B
9
S
1
Posts: 9
Reputation: 445

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests