Thalassicus
Bytes and Nibblers
The first test message displays, the second message (and lines following it) do not run:
Any idea what's wrong?
Code:
for iXLoop in range(iPlotX - 2, iPlotX + 2):
for iYLoop in range(iPlotY - 2, iPlotY + 2):
CyInterface().addMessage(CyGame().getActivePlayer(), True, 10, "Testing Plot 1", None, 2, None, ColorTypes(8), 0, 0, False, False)
pPlot = gc.getMap().getPlot(iXLoop, iYLoop)
CyInterface().addMessage(CyGame().getActivePlayer(), True, 10, "Testing Plot 2", None, 2, None, ColorTypes(8), 0, 0, False, False)
Any idea what's wrong?