Following piece of code works perfectly:
The problem begins if it is part of a loop, ie. 2 (or more) cities shall be shown. It just shows the last, probably because this one overwrites the old ones without any registration of the human eye.
So I inserted an enormous "wait"-loop, doing nothing else than consuming time before the second JustLookAtPlot. Now the code runs once past this point and "waits" before the second access as intended (checked by prints in the debug.log). BUT: Now the map isn't updated at all, it remains just at the last focus. Probably the screen (module) will be refreshed AFTER the user (module) has finished. -->> just wasting time (inside the 'user' code) will not work.
Has anybody realized a solution for this behaviour? Maybe kind of a "delay" function?
---
A workaround could be zoom out into orbit, zooming slowly close onto city, zoom out again, and repeat with 2. city. (Moving all the time if I don't know how to stand still
)
I toyed around with CyCamera().SetLookAtSpeed() & CyCamera().GetLookAtSpeed(), but it is set to REALLY small amounts (1.xxxxe-38), and I cannot set another value?? What does this mean?
Has anybody used CyCamera().SetCameraMovementSpeed or GetCameraMovementSpeed?
Code:
pFocus = CyCamera()
pFocus.ResetZoom()
pFocus.JustLookAtPlot(pCity.getCityIndexPlot(2))
So I inserted an enormous "wait"-loop, doing nothing else than consuming time before the second JustLookAtPlot. Now the code runs once past this point and "waits" before the second access as intended (checked by prints in the debug.log). BUT: Now the map isn't updated at all, it remains just at the last focus. Probably the screen (module) will be refreshed AFTER the user (module) has finished. -->> just wasting time (inside the 'user' code) will not work.
Has anybody realized a solution for this behaviour? Maybe kind of a "delay" function?
---
A workaround could be zoom out into orbit, zooming slowly close onto city, zoom out again, and repeat with 2. city. (Moving all the time if I don't know how to stand still

I toyed around with CyCamera().SetLookAtSpeed() & CyCamera().GetLookAtSpeed(), but it is set to REALLY small amounts (1.xxxxe-38), and I cannot set another value?? What does this mean?
Has anybody used CyCamera().SetCameraMovementSpeed or GetCameraMovementSpeed?