Difference between revisions of "Event"

From Legends of Aria Admin and Modding Wiki
Jump to: navigation, search
(Created page with "== Definition == Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. If an event is...")
 
(Definition)
Line 1: Line 1:
 
== Definition ==
 
== Definition ==
  Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script.
+
  Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. If an event is registered with the [[RegisterEventHandler]] function, that lua code will execute whenever that event is occured. Check the official documentation for all the different events and read the descriptions for information about when the event is fired.
If an event is registered with the \ref registereventhandler_ function, that lua code will execute whenever that event is occured.
 
Check the official documentation for all the different events and read the descriptions for information about when the event is fired.
 
  
 
== Official Documentation ==
 
== Official Documentation ==

Revision as of 17:16, 1 November 2016

Definition

Events are internal game messages that fire whenever something is triggered. Whenever an action occurs the event is sent back to the script. If an event is registered with the RegisterEventHandler function, that lua code will execute whenever that event is occured. Check the official documentation for all the different events and read the descriptions for information about when the event is fired.

Official Documentation

[Events Official Documentation]