Hi there,
I would like to ask another question about how this works.
In "Start of Layout" Event No. 4 it says
Event: For "Addkeys" from 1 to (Array.SizeX*Array.SizeY) 2
action : HashTable: Insert key str(LoopIndex+1) with value 0
What does that exactly do?
I am trying to modify it, so the pairs, which are already correct dissolve instead of just staying there, but to no success yet.
So I am trying to find out, what each line in the Event sheet is doing exactly.
Thanks a lot in advance!
Manuela
This event is a loop inserting keys into a hashtable for every unique card image. That's why it's calculated from the multiplied Array X and y Size and then divided by 2, since we are dealing with pairs.
The hashtable is then used to check if there are already two cards of the same picture present for startup randomization.