# HG changeset patch # User sheepyluva@gmail.com # Date 1366970795 0 # Node ID f7930ab435232f0eb4eed8a8c99a8f3ce8ad5a61 # Parent 6c0397400a9b34e8744f1d02ef286801e0780905 whoops. lost a link diff -r 6c0397400a9b -r f7930ab43523 LuaAPI.wiki --- a/LuaAPI.wiki Fri Apr 26 09:59:08 2013 +0000 +++ b/LuaAPI.wiki Fri Apr 26 10:06:35 2013 +0000 @@ -6,7 +6,7 @@ Version 0.9.13 of Hedgewars introduced the ability to use Lua scripts to modify Hedgewars behaviour for different maps without having to recompile the whole game. The till then used triggers (only appeared in training maps) were removed. -Lua is an easy to learn scripting language that's implemented using open source libraries. If you'd like to learn more about Lua, have a look at Lua's official homepage. Even though its easy to learn syntax this wiki page won't explain all basics of using Lua, e.g. declaring variables or using control structures. There are tons of step-by-step tutorials and documentation available on the internet. Just throw "Lua" into your favourite search engine and give it a try. +Lua is an easy to learn scripting language that's implemented using open source libraries. If you'd like to learn more about Lua, have a look at [http://www.lua.org Lua's official homepage]. Even though its easy to learn syntax this wiki page won't explain all basics of using Lua, e.g. declaring variables or using control structures. There are tons of step-by-step tutorials and documentation available on the internet. Just throw "Lua" into your favourite search engine and give it a try. How Hedgewars handles Lua scripts As of Version 0.9.13 Hedgewars supports Lua scripts for two similar tasks: Define tutorial missions or provide special map behaviour for precreated maps.