hallo ich komme in meinem spiel nicht weiter, habe auch schon gesucht aber nichts gefunden.
also wennman einen button drückt soll ein neues fenster geöffnet werden wo steht ausbau zur nächsten stufe(für den anfang). nach dem klicken soll ein timer ablaufen(ca. 2 min), dann soll die überschrift des Button von z.b.: "stall" auf "stall stufe: 1" geändert werden. habe nur keine ahnung wie man das macht.
hoffe ihr könnt helfen.
#include <GUIConstants.au3>
[/autoit][autoit][/autoit][autoit]#Region ### START Koda GUI section ### Form=Burgia.kxf\Burgia.kxf
$Form1 = GUICreate("Form1", 625, 445, 193, 125)
GUISetBkColor(0x00FF00)
$Stall = GUICtrlCreateButton("Stall", 56, 48, 121, 89, 0)
$Kaserne = GUICtrlCreateButton("Kaserne", 240, 48, 121, 89, 0)
$Rathaus = GUICtrlCreateButton("Rathaus", 56, 208, 121, 89, 0)
$Haus = GUICtrlCreateButton("Haus", 240, 208, 121, 89, 0)
$Burg = GUICtrlCreateButton("Burg", 408, 104, 121, 121, 0)
$Bauernhof = GUICtrlCreateButton("Bauernhof", 400, 312, 185, 121, 0)
GUICtrlSetBkColor(-1, 0x808000)
$Date1 = GUICtrlCreateDate("2009/05/09 09:32:2", 504, 8, 113, 33)
$MonthCal1 = GUICtrlCreateMonthCal("2009/05/09", 392, 8, 97, 33)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd