AngelScript
Events

Path: /sdk/samples/events/

This sample has the script engine execute a long running script. The script execution is regularly interrupted by the application so that keyboard events can be processed, which execute another short script before resuming the execution of the main script. The event handling scripts change the state of the long running script.

  • LineCallback() function which suspends execution when the time is up
  • string object
  • Registered global functions
  • Scripted event handlers