Thalassicus
Bytes and Nibblers
Has anyone tried using this event? It seems the X and Y values are not the same as what other functions use. 
The Y value is always accurate, but the X value varies between -3 and -5 from the actual x value... haven't been able to figure out the pattern...

The Y value is always accurate, but the X value varies between -3 and -5 from the actual x value... haven't been able to figure out the pattern...
PHP:
function NewCity(coordinates)
Players[Game.GetActivePlayer()]:InitUnit( GameInfo.Units.UNIT_ARCHER.ID, coordinates.x, coordinates.y )
end
LuaEvents.SerialEventCityCreated.Add( NewCity )