Changes between Version 3 and Version 4 of documentation/LuaManual/AttachingToEvents

Show
Ignore:
Author:
gambini (IP: 96.38.104.126)
Timestamp:
05/20/12 04:40:44 (5 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/LuaManual/AttachingToEvents

    v3 v4  
    33 
    44== Statically in RML == 
    5 The easiest way to attach to events with Lua is to write your code directly into the RML files, using the on* attributes. When the event is fired three global variables are set up, ''document'', ''event'' and ''element''. 
     5The easiest way to attach to events with Lua is to write your code directly into the RML files, using the on* attributes. When the event is fired three local variables are set up, ''document'', ''event'' and ''element''. 
    66 
    77||[wiki:documentation/LuaManual/Elements element]||The element that is currently being processed||