Sid Meier's Civilization V

Sid Meier's Civilization V

Create and Discover New Worlds
Maps, Scenarios, Interface, and so much more. Explore the modding world of Civ V, and when you’re ready, download the SDK to create and upload your own.
Establish a city with one religion
How can I add a existing religion to a created City.
I made a mod with cities built, and I established three religion , but I dont know ho to make those cities followers of that religion.
I tried with this Crusaders Kings Map mod.
function FollowChristianityA()
if Game.GetElapsedGameTurns() == 0 then

for iPlayer=0, GameDefines.MAX_CIV_PLAYERS - 1 do
local pPlayer = Players[iPlayer];
if pPlayer:IsEverAlive() then

-- Enumerate cities
for pCity in pPlayer:Cities() do

-- City exists and has the proper name?


if pCity ~= nil and pCity:GetName() == "Inverness" then
pCity:ConvertPercentFollowers(2, -1, 75);

But it doesnt works with Ortodoxy.