LS22 Console Helper v1.0.0.1

LS 22 Other
LS22 Console Helper v1.0.0.1

Version 1.0.0.1
Fix bug in chV command (gfind replaced by gmatch)

This mod is a little helper to debug mods or scripts easier. With the 3 commands, values can be read and written, functions can be called and tables can be read recursively. Everything that is output in the console is also directly available in the logfile.

The following commands are available:

Command: chT
Read tables recursively, optionally you can specify the maximum depth (no specification = depth 1).

examples
chT _G
chT g_currentMission
chT g_currentMission 10 (better not do this because it takes forever…)

Command: chF
Call functions/methods, optionally pass up to 3 arguments.

Examples
chF g_currentMission.controlledVehicle:getFullName
chF g_currentMission.controlledVehicle:setCruiseControlMaxSpeed 20
chF g_currentMission.controlledVehicle:getCruiseControlMaxSpeed

Command: chV
Read or write the value of a field.

Examples
chV g_currentMission.controlledVehicle.price
chV g_currentMission.controlledVehicle.price 999999
chV g_missionManager.missions.1.reward
chV g_missionManager.missions.1.reward 50000

Of course, many other things can be called or displayed using the ConsoleHelper’s commands as well.
Have fun with this
BigBlueHH

Credits:
BigBlueHH

Do you know what Farming Simulator 19 Mods / Farming Simulator 22 Mods are? We bet that you've heard of them! However, if you are one of those people who are still not aware of this great feature, we can explain what it's all about! Downloading FS19 mods / FS22 mods is one of the greatest ways to upgrade your Farming Simulator 19 / Farming Simulator 22 game with just few clicks. All that you have to do is select Farming Simulator 19 mod / Farming Simulator 22 mod Download and supplement your game with it. We can give you a wide variety of all sorts of ingenious modifications so that each of you could find the most suitable solution. However, the best way to see how it works is just to try and to explore these FS 19 mods / FS 22 mods features right now.








You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *