Community Forum

code after modload

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created05.08.2011 08:35


Jimmy Nielsen (Unknown) 05.08.2011 08:37
Hi

I have a piece of code I would like to run as soon all the mods have been loaded. Is there some kind og event I can use?

silverlore

Stefan Geiger - GIANTS Software 08.08.2011 11:56
You could add a mod event listener, and run some code in the loadMap function, which is called after all mods are loaded.

Alexander Kleinknecht (Unknown) 08.08.2011 21:02
Could anyone explain, how I could run some .lua files later than in the Moddesk.xml at the extrafiles? Is there any way to call a .lua in another .lua ?

I am not the scripting-one so please excuse my questions if they sound like I was joking!


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