ww2commander
Emperor
Am I correct in assuming that the ".ltp" files located within the \steamapps\common\Sid Meier's Civilization VI\Debug folder provides a glimpse at what functions are available via Lua?
These files can be read via any text editor.
Example:
Action name "+10 XP" within the Unit.ltp file runs via the debug console:
These files can be read via any text editor.
Example:
Action name "+10 XP" within the Unit.ltp file runs via the debug console:
Code:
local pUnit = GetSelectedUnit();
if (pUnit ~= nil) then
pUnit:GetExperience():ChangeExperience(10);
end