I am trying to code a rm script including the following code segment:
int cType = rmGetPlayerCulture(0);
if(cType == "Egyptian")
{
playerTiles = 18500;
rmEchoInfo("Large map");
}
The compiler will not compile and does not give a specific error description. When this code is commented out the compile completes, without error, producing the random game.
Can anyone tell me what I am doing wrong and If you have used this or another technique to get the gaia culture would you send (or post) a sample of the code?