Is it possible to obtain engine parameters from blueprint inside Lua script? Such as MaxPower for instance.
This is what you have to work with. It is limited. https://www.christrains.com/tscdevd...tion-reference/engine-function-reference.html Beside of that you can get all the control values.
Thank you, Oystein. I know about that, very limited indeed. There is no direct function to get MaxPower. Looks like the only way is just to hard code such values inside the script...
For the history... Looks like the only way to get those values is by manually parsing blueprints from lua code. Since it is done only once in the beginning of the scenario, not a big deal performance wise.