equal
deleted
inserted
replaced
34 After successfully loading the Lua script, the game will call event functions on different occasions. To be used, they have to use the exact same name as defined in the Lua API. |
34 After successfully loading the Lua script, the game will call event functions on different occasions. To be used, they have to use the exact same name as defined in the Lua API. |
35 |
35 |
36 A list of event handlers can be found in [LuaEvents]. |
36 A list of event handlers can be found in [LuaEvents]. |
37 |
37 |
38 == Data types == |
38 == Data types == |
39 This section defines some commonly used non-primitive parameter types which are used in multiple functions. This section is a bit incomplete at the moment. |
39 This section defines some commonly used non-primitive parameter types which are used in multiple functions. |
40 |
40 |
41 === Color === |
41 === Color === |
42 Some functions take a `color` parameter. |
42 Some functions take a `color` parameter. |
43 |
43 |
44 Colors are stored in RGB or RGBA format and are specified as a three- or four-byte number, respecively. |
44 Colors are stored in RGB or RGBA format and are specified as a three- or four-byte number, respecively. |