Hi,
I have created a simple game.configuration tickbox in the FrontEnd with XML.
I want to execute at simple sql code:
UPDATE Units SET PrereqPopulation = '99' WHERE UnitType = 'UNIT_SETTLER'; to prevent players from building settler if this is ticked.
How can I affect the gameplay data through SQL using my FrontEnd tickbox ?
(I am thinking criteria in *.modinfo but how can I tie it to a specific tickbox?)
(All the rest I can do it with the lua by simply checking the Game.Configuration:GetValue("tickbox"))
I have created a simple game.configuration tickbox in the FrontEnd with XML.
I want to execute at simple sql code:
UPDATE Units SET PrereqPopulation = '99' WHERE UnitType = 'UNIT_SETTLER'; to prevent players from building settler if this is ticked.
How can I affect the gameplay data through SQL using my FrontEnd tickbox ?
(I am thinking criteria in *.modinfo but how can I tie it to a specific tickbox?)
(All the rest I can do it with the lua by simply checking the Game.Configuration:GetValue("tickbox"))