Jump to content

Lua script execution question


GhostXoP

Recommended Posts

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?

Link to comment
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 by Guest
Link to comment

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

Link to comment

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.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...