Never use value that already has been used.

For questions about using Classic.

Post » Sat Aug 24, 2013 4:25 pm

So for example I have:
set global('reward') - random(100).
And player already got numbers 2,4 and 7 for example.
How do I do so that when player rolls random number again these 3 numbers are excluded?

Thanks in advice. Need this one for my Ludum Dare project.
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Sat Aug 24, 2013 4:56 pm

Here's a cap I made a while back of something similar to what you're trying to do, should work in your case too: https://dl.dropboxusercontent.com/u/4714446/ArrayPowerups.cap

Good luck! Jayjay2013-08-24 16:58:57
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
B
113
S
39
G
17
Posts: 2,184
Reputation: 19,217

Post » Sat Aug 24, 2013 5:10 pm

thanks!
:)
B
11
S
3
G
6
Posts: 193
Reputation: 4,234


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests