Search found 3 matches
- Sat Dec 05, 2020 7:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening random cards
- Replies: 14
- Views: 16648
Re: Opening random cards
Hi.
I do this now and then. I always make a list of items like "1,2,3,4,5".
When you get a "any" item of that list, say, 4, you go to card 4, and delete the 4 from the list. Then when you get any item again, you are guaranteed not to duplicate that 4.
Craig
Cool. Thanks, Craig!
- Fri Dec 04, 2020 3:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening random cards
- Replies: 14
- Views: 16648
Re: Opening random cards
Hah...that would be curtesy of a google search. I was wondering if anyone would answer after so many years have passed.FourthWorld wrote: Fri Dec 04, 2020 3:19 am How did you manage to find this thread after more than half a decade?
- Fri Dec 04, 2020 2:43 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening random cards
- Replies: 14
- Views: 16648
Re: Opening random cards
I think "any" would work here was well:
go any card
How do you keep from opening the same card 2x in a row. I am using "go any card," which works pretty well, but occasionally it will direct me to the same card again. The problem is the button(s) on that card have already been clicked and ...