How to calling many Functions at once?

Get help using Construct 2

Post » Mon Nov 28, 2016 6:46 pm

Is it a good idea to call many functions at once?

If Clicked
Call Function1
Call Function2
Call Function3
Call Function4


Does this complete Function1 before it calls Function2 or are all of them called as quick as possible, where Function2 could finish before Function1 if it were a shorter Function?

It is working properly on my computer, but I am not sure how it would work on a weak device.

Should I have 'Wait 0 Seconds' between each function to add a tick between each Function call?

Thanks, in advance.
B
68
S
37
G
13
Posts: 242
Reputation: 12,787

Post » Mon Nov 28, 2016 6:50 pm

C2 always runs in order. It's Wait that runs things out of order. You should be fine.
ImageImageImage
B
71
S
22
G
267
Posts: 3,806
Reputation: 147,743

Post » Mon Nov 28, 2016 6:57 pm

I knew it was like that for events and conditions, I wasn't 100% sure on Functions. Thank you
B
68
S
37
G
13
Posts: 242
Reputation: 12,787


Return to How do I....?

Who is online

Users browsing this forum: eca315 and 38 guests