1. Hi,

    I'm looking for a way to waiting for an event inside a function.

    Like this :

     some code...
     wait untill "EVENT"
     some code...
    

    Any help will be appreciated.

    Thanks for your time. Best regards,

    jiyll

  2. Please read Chapter 13, where responding to game events is covered in depth.