Hi, manual states that events/actions run in order shown but some actions (Sprite.Destroy) seem to occur only after end of main loop.
(also trying to analyse this I got an oddly similar result when setting a global variable).
Link to .capx file (required!):
dl.dropboxusercontent.com/u/15657176/Destroy_Order.capx
Steps to reproduce:
1. Run prog
2. Click on a sprite (sprite is destroyed)
Observed result:
1. Note that Destroyed Sprite UID still appears in For Each Sprite report
2. Note also that although 'Clicked' is set to YES the "BEFORE" (before loop end) report (which is after the click event) does not get shown.
Expected result:
1. Destroyed Sprite UID should not be in For Each report
2. "BEFORE" report should be showing
3. "AFTER" (after loop end) is as expected
Browsers affected:
Chrome: yes
Firefox: ?
Internet Explorer: ?
Operating system & service pack:
Win 7 SP1
Construct 2 version:
r143