FS22 - Console Helper V1.0.0.1

FS22 - 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.

Authors: BigBlueHH

Today Downloads: 1
luslul Uploaded by luslul
Play Sudoku

Similar Mods

FS22 - Autodrive Fichthal V1.1

FS22 - Autodrive Fichthal V1.1

2023-07-23 13:23:52 0
FS22 - Dusty Lands Extension V1.0

FS22 - Dusty Lands Extension V1.0

2022-07-12 10:52:06 5
FS22 - Enhanced Loan System V1.1

FS22 - Enhanced Loan System V1.1

2023-05-26 18:59:29 0

Leave a comment


Game Versions
The last 6 game versions are displayed. You can use filtering on the category page to access older game versions.
Today Popular Mods