Juhui, habe es selbst raus gefunden ![Tröt](images/smilies/troet.gif)
Ich habe...
Code:
screen.addUnitGraphicGFC("PurchaseButton", gc.getInfoTypeForString("UNIT_GREAT_GENERAL"), -1, self.XResolution - self.RECRUIT_W - self.STANDARD_MARGIN, self.RECRUIT_Y, self.RECRUIT_W, self.RECRUIT_H, WidgetTypes.WIDGET_GENERAL, self.BUY_UNIT_BUTTON_ID, -1, 0, 0, 1.0, false)
ersetzt mit...
Code:
screen.setImageButton("PurchaseButton", "Art/Interface/Screens/Europe/Great_General_Dollar.dds", self.XResolution - self.RECRUIT_W - self.STANDARD_MARGIN, self.RECRUIT_Y, self.RECRUIT_W,self.RECRUIT_H, WidgetTypes.WIDGET_GENERAL, self.BUY_UNIT_BUTTON_ID, -1)
Da fehlt nichts, oder koma?
Nun welcher Button gefällt euch besser:
![](http://www.civforum.de/attachment.php?attachmentid=528171&stc=1&d=1292874641)
![](http://www.civforum.de/attachment.php?attachmentid=528172&stc=1&d=1292874641)
Ich finde Variante 1 ohne das Fragezeichen besser