Scripting Basics: Notify, Waittill and Endon

atrX
By atrX in Scripting Handbook,
Notify, waittill and endon, what exactly does it do?
Waittill is a function used to make the script wait for a notification (sent by notify), waittill can be called on entities and the level. Notify sends a notification to either an entity or the level. Endon will end a function as soon as it recieves a notification specified in the endon function.
 
How to use notify, waittill and endon? Let's take a look at this example: Please login or register to see this code.
  • 0 replies