Trigan Emperor
Prince
- Joined
- Apr 11, 2015
- Messages
- 438
Comparing mod codes, some use square brackets, while others omit them. Are both code forms valid and will work in the game?
See below for a couple of examples taken from mod codes.
See below for a couple of examples taken from mod codes.
Code:
UPDATE Leader_MajorCivApproachBiases SET Bias = 10 WHERE MajorCivApproachType = 'MAJOR_CIV_APPROACH_WAR';
vs
UPDATE [Leader_MajorCivApproachBiases] SET [Bias] = [Bias] + 2 WHERE MajorCivApproachType = 'MAJOR_CIV_APPROACH_WAR';
and
UPDATE Leaders SET VictoryCompetitiveness = 10;
vs
UPDATE [leaders] SET [VictoryCompetitiveness] = [VictoryCompetitiveness] + 4;