ObjectID =  event .time .create  (  Procedure ,  Delay ,  NbsShoot  )  
                                          
Description :

This instruction creates an event and repeats it regularly a predefined number of times.

Parameters :

  • Name of the procedure managing the event.
  • Delay between two consecutive calls to the procedure, expressed in seconds.
  • EVENT_LOOP
    EVENT_ONE_SHOT
    NbsShoot

Return Handle :

  • ObjectID of the event

Notes :


When creating the procedure, you should always organize its two parameters in the following order: Event ObjectID, Shoot.

There is no need to use the instruction event.free after the last time the event occurs. The event will be automatically removed from computer memory.

Examples :