author | henrik.rostedt |
Sat, 13 Nov 2010 23:03:11 +0000 | |
changeset 31 | e713a5d2a7f9 |
parent 30 | 43e5101de029 |
child 32 | 5f66adfa478c |
permissions | -rw-r--r-- |
29 | 1 |
#summary Guide to writing Lua scripts in Hedgewars. |
2 |
||
31
e713a5d2a7f9
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
30
diff
changeset
|
3 |
= Under Construction = |
e713a5d2a7f9
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
30
diff
changeset
|
4 |
|
30
43e5101de029
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
29
diff
changeset
|
5 |
This is both an introduction to Lua scripting in Hedgewars and a guide for more advanced control over the game and gears. |
43e5101de029
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
29
diff
changeset
|
6 |
|
43e5101de029
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
29
diff
changeset
|
7 |
== What is a Lua script == |
29 | 8 |
|
30
43e5101de029
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
29
diff
changeset
|
9 |
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. |
43e5101de029
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
29
diff
changeset
|
10 |
|
43e5101de029
Edited wiki page LuaGuide through web user interface.
henrik.rostedt
parents:
29
diff
changeset
|
11 |
Missions and Training are the parts of Hedgewars that are scripted. Try them out and get a feel of what scripted maps is. |