Event Issues

Discussion and feedback on Construct 2

Post » Sun Jul 20, 2014 11:19 pm

the event doesn't seem to be checking whether or not I am currently reloading...
Image
B
4
Posts: 3
Reputation: 1,168

Post » Sun Jul 20, 2014 11:29 pm

You are resetting the variable in event 26. Just move/copy the 'Set isReloading = 0' to both 24 and 25, so that the variable is reset after the Wait. Right now it is higher than the scope of the Wait.
ImageImageImage
B
71
S
21
G
221
Posts: 3,651
Reputation: 124,231

Post » Sun Jul 20, 2014 11:47 pm

so the sub events aren't ran in order from top to bottom?
B
4
Posts: 3
Reputation: 1,168

Post » Mon Jul 21, 2014 12:31 am

They are, but Wait does not block - this is a common mistake everybody makes. Wait will spawn off and run those events under it after the wait period. Event 26 will still run immediately though.
ImageImageImage
B
71
S
21
G
221
Posts: 3,651
Reputation: 124,231

Post » Mon Jul 21, 2014 1:31 am

hmm... interesting thanks for the help, is there a way i can give rep for your help.
B
4
Posts: 3
Reputation: 1,168

Post » Mon Jul 21, 2014 1:43 am

No, it accumulates slowly.
ImageImageImage
B
71
S
21
G
221
Posts: 3,651
Reputation: 124,231


Return to Construct 2 General

Who is online

Users browsing this forum: megatronx and 2 guests