Community Forum

Start with FS scripting

Forum Overview >> Scripting

CategoryScripting
Created11.08.2019 21:53


Lorenzos (lorenzoita) 11.08.2019 21:53
Hello to everyone,
I always wanted to start with scripting but I never started seriously for lack of time. In these days I've some free time and I would like to try to take it seriously.
I already studied a little bit of the basic of lua programming but I'm in trouble to understand fs structures.
Do you know any resource (over the luadoc) where a beginner could learn?

Bilbo Beutlin (BBeutlin) 12.08.2019 00:07
There's no tutorial about FS LUA scripting. And it will never appear one because the required methods for each problem are in most cases totally different.
Start with tutorials about general LUA. There are many around in the web. You MUST have good knowledge of the basics.
Then you begin to read examples from FS LUADOCs to get an overview about specific FS LUA methods.
Learn from others. Study mods of different kind: specializations, objects, triggers, placeables, general scripts.
Examine and understand the FS input system with actionEvents.
Begin with easy self-written scripts, then gradually increase.


Note: Log in to post. Create a new account here.