I am trying to get this line working for scripting, so I can create a region by region manpower limit rather than theatre.
I am guessing that it uses the fort name as one param, but I think there are others, and I am not sure what they are or how to find them out.
Right now I have tryed CampaignUI.FortDetails("Fort Neuf Brisach"), but this does not work.
Code I am using, right now I am putting it in the TI script test
The Error that is shown in the log file.Code:stat, err = pcall(CampaignUI.FortDetails("Fort Neuf Brisach")) if not stat then log("[Error] "..tostring(err).."\n") end
Any help would be great.Code:Trying to retrieve type userdata, found type string




Reply With Quote






