Simple Ques on Array loaded w. c2array

Get help using Construct 2

Post » Thu Dec 05, 2013 6:13 pm

How do I access the value here by Array object:
Stuck here. Like the value in "data"'s first and second items. Thanks :)


{ "c2array":true , "size":[3,1,1] ,"data":[ ["success"],[" number is specified"],["test1"] ] }
B
5
S
1
Posts: 78
Reputation: 556

Post » Thu Dec 05, 2013 8:42 pm

Load it into the array object using the "load" action and then you can access them with the array expressions.

ex.
First item:
Array.At(0)

2nd:
Array.At(1)
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455


Return to How do I....?

Who is online

Users browsing this forum: plinkie, Yahoo [Bot] and 21 guests