equal
deleted
inserted
replaced
1 #summary Guide to writing Lua scripts in Hedgewars. |
1 #summary Guide to writing Lua scripts in Hedgewars. |
2 |
2 |
3 = Introduction = |
3 This is both an introduction to Lua scripting in Hedgewars and a guide for more advanced control over the game and gears. |
4 |
4 |
5 This is both an introduction to Lua scripting in Hedgewars and a guide for more advanced control over the game and gears. |
5 == What is a Lua script == |
|
6 |
|
7 A Lua script is used to make the game behave different by giving the Hedgewars engine different command. The script gets called by the engine on different events and the script tells the engine what to do. |
|
8 |
|
9 Missions and Training are the parts of Hedgewars that are scripted. Try them out and get a feel of what scripted maps is. |