Editing Lua
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
The scripts are parsed once when the game switches a mission, or when the map reset vote is called | The scripts are parsed once when the game switches a mission, or when the map reset vote is called | ||
Lua programming guide is available at https://www.lua.org/pil/1.html and a quick reference at https://www.lua.org/manual/5.4/ | Lua programming guide is available at https://www.lua.org/pil/1.html and a quick reference at https://www.lua.org/manual/5.4/ | ||
scripts/globals.lua is always parsed before mission scripts | scripts/globals.lua is always parsed before mission scripts | ||
Line 15: | Line 11: | ||
==== [https://github.com/rafradek/sigsegv-mvm/blob/master/scripts/mvm_bigrock_luademo.pop '''Example popfile'''] ==== | ==== [https://github.com/rafradek/sigsegv-mvm/blob/master/scripts/mvm_bigrock_luademo.pop '''Example popfile'''] ==== | ||
==== [https://github.com/rafradek/sigsegv-mvm/blob/master/ | ==== [https://github.com/rafradek/sigsegv-mvm/blob/master/src/lua/globals.lua globals.lua] ==== | ||
== | ==== [https://github.com/rafradek/sigsegv-mvm/blob/master/src/lua/library.lua library.lua] ==== | ||