Vanda engine allows the user to perform actions during runtime using scripts that are attached to objects. Vanda Engine scripts are written in Lua language–for more information about Lua language, please visit https://www.lua.org/. Each script consists of one or more events and the corresponding code along with APIs are usually written inside the events. Each event is called at a certain time by Vanda engine. For example, the Init() event is called once during the initialization of the corresponding object to which the script is attached, and the code inside it is executed.
In this guide, we will review the script editor, events and scripting APIs with examples: