Wonder graphics updating

Pazyryk

Deity
Joined
Jun 13, 2008
Messages
3,584
Wonder graphics have been my ongoing bane. If a city starts building one, then the under construction graphic appears. When a city completes it, then the graphic shows the completed wonder.

If I use city:SetBuildingProduction() to partially build wonder, then...nothing (though I know it worked from SetBuildingProduction). If I use city:SetNumRealBuilding() to complete the wonder, then I now have the wonder in the city but no graphic.

Can anyone think of a workaround for me? I want Lua control of construction without having the wonder as an allowed "city build".

There is btw an event.WonderStateChanged, but I assume that is a listener and can't actually do anything.
 
I am a bit confused as to your problem only because of an issue I am having with pre-built wonders.

Are you saying you get no notification on a city that starts with the wonder or that the graphics are the issue.


Only asking as I get popup notification that a wonder has been built when a city starts with it on initiation. However, when the popup appear, my capital city on the map disappear (i.e. name is there but no little buildings)!

Is this the same issue?
 
Are you saying you get no notification on a city that starts with the wonder or that the graphics are the issue.
The notification works properly -- I get the popup when using city:SetNumRealBuilding() to set a wonder. The only thing that doesn't happen is that I don't get the graphic on the map.

However, when the popup appear, my capital city on the map disappear (i.e. name is there but no little buildings)!
I did not have this problem.
 
Back
Top Bottom