You are not logged in.
Pages: 1
Apparently the instance_id[] array is recomputed after the Alarm Events and before the (Normal) Step Event. The Help File isn't specific, it only says:
Note that the assignment of the instances to the instance id's changes every step so you cannot use values from previous steps.
If I read his post correctly, EyeGuy seems to think this happens right before the Step Event. Can anybody confirm this?
http://gmc.yoyogames.com/index.php?showtopic=370336
Event Order:
Begin step events
Alarm events
Keyboard, Key press, and Key release events
Mouse events
Normal step events
(now all instances are set to their new positions)
Collision events
End step events
Drawing events
Abusing forum power since 1986.
Offline
Actually what I'm saying is it doesn't get updated in between the alarm event and the normal step event (and thus probably happens right before the begin step event). My test seems to confirm that.
http://kainsirusque.googlepages.com/ins … d_test.gm6
Edit: of course, this is GM6, but I doubt it changed for GM7.
Last edited by EyeGuy (2008-04-17 14:33:43)
Offline
Thanks for the clarification.
Abusing forum power since 1986.
Offline
Pages: 1