Random without repeat number

Discussion and feedback on Construct 2

Post » Fri Jun 01, 2012 6:03 pm

Hello everybody

Who tell me, how I make a random without repeat number from 1 to 8 ?

Thanks !   
B
4
Posts: 38
Reputation: 426

Post » Fri Jun 01, 2012 6:31 pm

Example.

Before random = 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8

After random = 3 - 7 - 5 - 1 -8 - 2 - 6 - 4
B
4
Posts: 38
Reputation: 426

Post » Fri Jun 01, 2012 6:48 pm

[QUOTE=talca1991] Hello everybody

Who tell me, how I make a random without repeat number from 1 to 8 ?

Thanks !    [/QUOTE]
------------------------------

Recent Construct Classic example here-

How can I fill a list with numbers from 1-10 with random order but without repeating ?

Link

Hope this helps
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Fri Jun 01, 2012 8:27 pm

Thanks my friend, but the examples of here there are is format ".cap" and my "construct 2" not read
B
4
Posts: 38
Reputation: 426

Post » Fri Jun 01, 2012 8:51 pm

The thread below has a link to a C2 example called RandomArrayNoDuplicates.capx that generates random numbers without replacement.

Randomize Array

EDIT: It uses a feature introduced in C2 release 87, so you should upgrade to R90 if you haven't already.kittiewan2012-06-01 20:53:43
B
29
S
11
G
12
Posts: 281
Reputation: 11,878

Post » Fri Jun 01, 2012 11:18 pm

Thanks !
B
4
Posts: 38
Reputation: 426

Post » Mon Jun 04, 2012 5:26 pm

Thank you very much, well analyze the file and get it served me well.


Sorry for my English but I speak in spanish.





Thanks !!!!
B
4
Posts: 38
Reputation: 426

Post » Tue Apr 16, 2013 1:02 am

Pues tu post compaero acaba de responder una duda que yo tenia. saludos
B
14
S
4
G
2
Posts: 109
Reputation: 2,679


Return to Construct 2 General

Who is online

Users browsing this forum: chadorireborn, digitalsoapbox, saiyadjin and 13 guests