Legacy GM when does speed execute?

O

Oyakiiv

Guest
hello, when does the variable 'speed' modify the x/y variables. I ask since I'm sure its not immediately.

does it do it at the end of the event? and if so would I have to read the new x/y variable in a following event? (such as set/change speed in the step event, then read x/y in the step end event)
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
Movement and collisions are handled between Step and End Step events, so yes - you'd have the new position in End Step.
 
O

Oyakiiv

Guest
awesome, thanks! though now I'm curious, is it just limited between step and end step, or does it simply apply between all events?
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
awesome, thanks! though now I'm curious, is it just limited between step and end step, or does it simply apply between all events?
Limited to Step and End Step. You can find a page detailing the event order in the manual (I think named literally "event order" in index)
 
O

Oyakiiv

Guest
alright, will check it out, easy to lose yourself in that thing
 
Top