Forum
CS2D General Creating Lua ScriptCreating Lua Script
5 replies 1
They just keep coming...
That should get it working.
However, 'making' a script is very wrong usage of the english language. Correctly you would 'code' it. Lua is a fairly easy language to learn, there are no things that define the end of a piece of code like in C/C++'s ";". It's loops are simple to use. However you use the word 'end' instead of the traditional { and }. So Lua all together is not exactly a monster to try swallow.
There are numerous tutorials, but thee only real way to learn is to "code a little, read a lot, code a little, read a lot, code quite a bit, realise you just failed, read a lot."
Advise: use Notepad++ for its Lua syntax highlighting - really useful.
Plus Notepad++ is multi-platform if i am correct =D
EDIT: oh no, wait it isnt
1