Community Forum

LUA Scripts - self

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created18.03.2020 16:04

Paul Oberosler (pavll) 18.03.2020 16:04
Can someone help me where to find docs about "self"? Like "self.isClient" and all these functions, methods and variables.
And is it possible to settings to the game settings menu? And how?

Sorry, i'm new in "FS Lua Scripting".

Bilbo Beutlin (BBeutlin) 18.03.2020 16:51
Best reference is at "".
You'll find also many other LUA tutorials and guides, suitable for beginners. Simply search for "lua tutorial".
However you'll find no special tutorial for FS script programming. You must make it like all others before: learn the basics, then begin to study the GDN documentations and script mods from others.

btw: for questions concerning LUA scripting you should use the GDN subforum "Scripting".

I'm not sure what you mean with "settings to the game settings menu"? Perhaps this is what you're looking for:

Paul Oberosler (pavll) 18.03.2020 16:55
Thank you for the fast reply and yes, this is what i meant.
Can you recommend me some mods where i could learn the basics of simple lua scripting in fs(not modding with graphics)?

Bilbo Beutlin (BBeutlin) 18.03.2020 19:06
A very good address is the Giants Modhub.
There are many script mods of different kind, so you'll get a clue about the basic handling.
Perhaps begin with simple, small scripts and enhance the difficulty step-for-step.
You'll see that things are quite different in handling, depending on purpose of script.

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