GhostXoP Posted December 1, 2012 Posted December 1, 2012 Say you have this 1 2 3 4 5 TriggerEvent 6 7 8 When the event is over, is line 6 interpreted next?
Anderl Posted December 1, 2012 Posted December 1, 2012 What is after 5? If 6 is after 5, of course it will be run.
GhostXoP Posted December 1, 2012 Author Posted December 1, 2012 You have a logic problem, please re-do your 4 years at your local high school for entry logic lessons. At Line 5, you trigger an event, and the execution goes to another function that handles the trigger now what i dont know is, Within the virtual machine of lua is another process opened to execute the function of the triggered event, and continue on to line six? Or does it transfer execution onto the function handler, and when the handler is done, does it come back to line six and continue?
Anderl Posted December 1, 2012 Posted December 1, 2012 (edited) At Line 5, you trigger an event, and the execution goes to another function that handles the trigger now what i dont know is,Within the virtual machine of lua is another process opened to execute the function of the triggered event, and continue on to line six? Or does it transfer execution onto the function handler, and when the handler is done, does it come back to line six and continue? That isn't even close to what you said in the first post. You have a logic problem, please re-do your 4 years at your local high school for entry logic lessons. You're the one who needs to go to school again to learn to express and EXPLAIN the things properly. You mind stopping with your childness now? People are here to help, if they don't understand your problem the ONLY thing YOU SHOULD DO is explain better. Edited December 2, 2012 by Guest
GhostXoP Posted December 1, 2012 Author Posted December 1, 2012 Hows Neo playgrounds doing? Its pretty obvious what i want. My question tells, does the execution return from the event handling function to line 6 or not. Edit: Lol your so mad that you even re-edited your post twice to try and get at me. This is great lol But thank you, i feel special that you did that for me. Ill begin workin on your medal
50p Posted December 2, 2012 Posted December 2, 2012 Event handlers are executed asynchronously that means they don't get executed as the code goes. You call triggerEvent function, which gets executed but it doesn't wait for the event to finish before going to the next line.
GhostXoP Posted December 2, 2012 Author Posted December 2, 2012 Event handlers are executed asynchronously that means they don't get executed as the code goes. You call triggerEvent function, which gets executed but it doesn't wait for the event to finish before going to the next line. Thank you
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now