Tiramisu
Warlord
Hello,
in Firetuner I could successfully run the following code to give open borders to player 0 (i.e. me) in the territory of player 2:
However, this does not work as a lua script in my mod. I could successfully run other scripts in my mod like e.g.
to make contact between player 0 and player 3. But open borders does simply not work for me as a mod.
I really cannot see any reason for this strange behavior, because in Firetuner my open borders script works perfectly. Please help!
in Firetuner I could successfully run the following code to give open borders to player 0 (i.e. me) in the territory of player 2:
Code:
DiplomacyManager.SendAction(0, 2, DiplomacyActionTypes.SET_OPEN_BORDERS);
However, this does not work as a lua script in my mod. I could successfully run other scripts in my mod like e.g.
Code:
Players[0]:GetDiplomacy():SetHasMet(3);
I really cannot see any reason for this strange behavior, because in Firetuner my open borders script works perfectly. Please help!