equal
deleted
inserted
replaced
130 |
130 |
131 If you need a different interval other than 1 or 20 milliseconds, you can use modulo on the `GameTicks` variable which holds the total number of game ticks since the beginning of the game. |
131 If you need a different interval other than 1 or 20 milliseconds, you can use modulo on the `GameTicks` variable which holds the total number of game ticks since the beginning of the game. |
132 |
132 |
133 == Getting started … for real == |
133 == Getting started … for real == |
134 |
134 |
135 This was just a simplistic introduction which didn't cover everything. If you want to l |
135 This was just a simplistic introduction which didn't cover everything. |
136 |
136 |
137 A good way to learn Lua scripting in Hedgewars is to read existing scripts. We recommend to take a look into `Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua` which is the Lua script for the Sniper Rifle target practice training mission. It should give you a rough “feeling” of how a script is supposed to look and is heavily commented. |
137 A good way to learn Lua scripting in Hedgewars is to read existing scripts. We recommend to take a look into `Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua` which is the Lua script for the Sniper Rifle target practice training mission. It should give you a rough “feeling” of how a script is supposed to look and is heavily commented. |
138 |
138 |
139 Continue with the following pages to learn more: |
139 Continue with the following pages to learn more: |
140 |
140 |