How do I insert while loop inside of function or Group?

Get help using Construct 2

Post » Sun Feb 14, 2016 7:10 am

Message: user5487 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
hey so i wonder how to put this code inside of a function or group without infinty loop?
when i put the code inside of a function or Group that Loop wont stop and its count up to infinty

https://www.scirra.com/tutorials/315/generating-random-numbers-without-duplicates
B
5
S
1
Posts: 14
Reputation: 403

Post » Wed Feb 17, 2016 3:49 pm

Why not use a for loop?

Instead of a "while" loop, you can use a for loop from 0 to Array.Width-1.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests