Array load from JSON string and next event

Get help using Construct 2

Post » Wed Sep 30, 2015 4:32 pm

Hello,

When i load Array from JSON string that takes some time...
How can i trigger next event only when loading is over and not right away becouse it messes my code?
(and i know to set wait event but thats kinda unprecise solution becouse mine data will grow and loading time with it)

thanx!!!
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Wed Sep 30, 2015 4:41 pm

I was under the impression that in that case everything would stop while it loaded. At least it has every time I've used it.
B
91
S
31
G
103
Posts: 5,235
Reputation: 67,756

Post » Wed Sep 30, 2015 5:58 pm

Image
B
64
S
23
G
7
Posts: 1,481
Reputation: 10,823

Post » Wed Sep 30, 2015 6:04 pm

@korbaach

Great tip.... im on it right away!!! :)
B
26
S
11
G
2
Posts: 669
Reputation: 5,038


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests