diff options
author | chai <chaifix@163.com> | 2021-11-15 11:34:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-15 11:34:17 +0800 |
commit | 4c36bed53fe63ae6056730b3ecad2573f03d88f8 (patch) | |
tree | 264fa97bb8a7a6275b6e4a3693b45e0c27fb0cfc /Data/DefaultContent/Libraries/addons/scripts/README.txt | |
parent | 14fa5cd8b00cf10d53c829caa0d5f9b40a3d8d3f (diff) |
+lua addons
Diffstat (limited to 'Data/DefaultContent/Libraries/addons/scripts/README.txt')
-rw-r--r-- | Data/DefaultContent/Libraries/addons/scripts/README.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Data/DefaultContent/Libraries/addons/scripts/README.txt b/Data/DefaultContent/Libraries/addons/scripts/README.txt new file mode 100644 index 0000000..32844b4 --- /dev/null +++ b/Data/DefaultContent/Libraries/addons/scripts/README.txt @@ -0,0 +1,8 @@ +Lua scripts are similar to the files that are currently run via the //exec windower command. Instead of just executing commands, though, Lua scripts are capable of their own logic and decision making. + +Once a Lua script finishes running, it is unloaded. + +You can run lua scripts via the //lua exec command. For example, if you have a Lua script named test.lua, you would run it by typing: +//lua exec test +or +//lua e test |