Platyping's Python

Sorry. I'm sure he is here talked about it . My English is very bad , I do not make reading all pages. Is there a way to do so that I can assign to a project building model ?
thanks
Hrochland
 
Don't really understand what you meant.
You mean when a project is built, add a building to the same city?
 
What is "the starting ramp model"? Just a building?
 
this model
 

Attachments

  • ramp.jpg
    ramp.jpg
    9.4 KB · Views: 219
I assume that is supposed to be a building in game...

Code:
	def onProjectBuilt(self, argsList):
		'Project Completed'
		pCity, iProjectType = argsList
		game = gc.getGame()
##
		if iProjectType == gc.getInfoTypeForString("PROJECT_XXX"):
			pCity.setNumRealBuilding(gc.getInfoTypeForString("BUILDING_YYY"), 1)
##
 
Is there a list of all wonder effects still around here somewhere? Or do I have to install the modules and look at them ingame?
 
Back
Top Bottom