This loop is not doing what i think it should

Get help using Construct 2

Post » Tue Jun 17, 2014 12:45 am

Capture.PNG

I think this should send 4 arrays as json, each 7 values long, but its only sending the last one. Can anyone explain why this is not doing what I think it should?
You do not have the required permissions to view the files attached to this post.
B
5
S
1
Posts: 8
Reputation: 291

Post » Tue Jun 17, 2014 3:08 pm

Capture.PNG

Had errors with array names, and I have found using browser logs that the loop works fine (had browser print out the loop and the cardArray, and those are all formed well), but messages still only go to the last messagee (ie: randomizer.At(3). randomizer stores PeerIDs in an array. The IDs are correct.
If in the messaging action I replace randomizer.At(2) manually it still never sends to player 2. Neither player 1.
I replaced randomizer with built-in PeerID.At and still, only ..At(3) gets a message.
Confused. Any light would be appreciated.
You do not have the required permissions to view the files attached to this post.
B
5
S
1
Posts: 8
Reputation: 291


Return to How do I....?

Who is online

Users browsing this forum: yiuyiu6666 and 27 guests