How do I

Just started using Construct 2? Post your questions here

Post » Fri Jun 23, 2017 12:05 pm

Hi I am making a game with a random function being called with a choose function I only want the item selected to occur once. I have made this happen by using a local variable 'used' so that once used it will not be selected a second time . However this is too slow because it is still in the choose list but just gets ignored. So I have stopped the annoyance of getting a repeat answer but sometimes the choose statement will select the item that has already been chosen and cycle thru the event which may take 10 seconds - users find this annoying to wait . Is there a way I can use a randon or choose function what will only find an object once and then exclude it from further calls to the function? I have searched the forum and read the documentation several times but not found an answer.
Thanks Chris
B
9
S
2
Posts: 1
Reputation: 577

Post » Sat Jun 24, 2017 6:32 am

hi,

If you could post a link to your game it would be helpful as i'm not sure what exactly you want.
B
5
Posts: 1
Reputation: 227


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest