begin my_trainingscript
short questionState
short button
if ( OnActivate == 1)
Set questionState to 1
Return
endif
if ( questionState == 0 )
Return
endif
if ( questionState == 1 )
MessageBox "Gegen wen wollt Ihr antreten?" "Ratte" "Kwama" "Alit" "Guar" "Kagouti" "Klippenläufer" "Shalk" "Stärkere Kreatur" "Niemand"
Set questionState to 2
Return
endif
if ( questionState == 2 )
set button to GetButtonPressed
if ( button == 0 )
PlaySound, "bell3"
PlaceAtPC "arena_rat" 1 512 1
Set questionState to 0
return
endif
if (button == 1 )
PlaySound, "bell3"
PlaceAtPC "kwama warrior" 1 512 1
Set questionState to 0
return
endif
if (button == 2 )
PlaySound, "bell3"
PlaceAtPC "alit" 1 512 1
Set questionState to 0
return
endif
if (button == 3 )
PlaySound, "bell3"
PlaceAtPC "guar" 1 512 1
Set questionState to 0
return
endif
if (button == 4 )
PlaySound, "bell3"
PlaceAtPC "kagouti" 1 512 1
Set questionState to 0
return
endif
if (button == 5 )
PlaySound, "bell3"
PlaceAtPC "cliff racer" 1 512 1
Set questionState to 0
return
endif
if (button == 6 )
PlaySound, "bell3"
PlaceAtPC "shalk" 1 512 1
Set questionState to 0
return
endif
if ( button == 7 )
Set questionState to 3
return
endif
if ( button == 8 )
Set questionState to 0
return
endif
endif
if ( questionState == 3 )
MessageBox "Gegen wen wollt Ihr antreten?" "Zenturio-Spinne" "Zenturio-Sphäre" "Dampfzenturio" "Blitz-Zenturio" "Schützen-Zenturio" "Besserer Schützen-Z." "Verbesserter Dampfz." "Stärkere Kreatur" "Niemand"
Set questionState to 4
Return
endif
if ( questionState == 4 )
set button to GetButtonPressed
if ( button == 0 )
PlaySound, "bell3"
PlaceAtPC "centurion_spider" 1 512 1
Set questionState to 0
return
endif
if (button == 1 )
PlaySound, "bell3"
PlaceAtPC "centurion_sphere" 1 512 1
Set questionState to 0
return
endif
if (button == 2 )
PlaySound, "bell3"
PlaceAtPC "centurion_steam" 1 512 1
Set questionState to 0
return
endif
if (button == 3 )
PlaySound, "bell3"
PlaceAtPC "arena_centurion_shock" 1 512 1
Set questionState to 0
return
endif
if (button == 4 )
PlaySound, "bell3"
PlaceAtPC "centurion_projectile" 1 512 1
Set questionState to 0
return
endif
if (button == 5 )
PlaySound, "bell3"
PlaceAtPC "centurion_projectile_C" 1 512 1
Set questionState to 0
return
endif
if (button == 6 )
PlaySound, "bell3"
PlaceAtPC "centurion_steam_advance" 1 512 1
Set questionState to 0
return
endif
if ( button == 7 )
Set questionState to 5
return
endif
if ( button == 8 )
Set questionState to 0
return
endif
endif
if ( questionState == 5 )
MessageBox "Gegen wen wollt Ihr antreten?" "Ratten-Mechanoid" "Riesen-Mechanoid" "Stärkere Kreatur" "Niemand"
Set questionState to 6
Return
endif
if ( questionState == 6 )
set button to GetButtonPressed
if ( button == 0 )
PlaySound, "bell3"
PlaceAtPC "fabricant_verminous" 1 512 1
Set questionState to 0
return
endif
if (button == 1 )
PlaySound, "bell3"
PlaceAtPC "fabricant_hulking" 1 512 1
Set questionState to 0
return
endif
if ( button == 2 )
Set questionState to 7
return
endif
if ( button == 3 )
Set questionState to 0
return
endif
endif
if ( questionState == 7 )
MessageBox "Gegen wen wollt Ihr antreten?" "Ahnengeist" "Skelett" "Skelettkriegsfürst" "Skelettfürst" "Skelett-Bogenschütze" "Knochenläufer" "Corprus-Bestie" "Stärkere Kreatur" "Niemand"
Set questionState to 8
Return
endif
if ( questionState == 8 )
set button to GetButtonPressed
if ( button == 0 )
PlaySound, "bell3"
PlaceAtPC "ancestor_ghost" 1 512 1
Set questionState to 0
return
endif
if (button == 1 )
PlaySound, "bell3"
PlaceAtPC "skeleton" 1 512 1
Set questionState to 0
return
endif
if (button == 2 )
PlaySound, "bell3"
PlaceAtPC "skeleton champion" 1 512 1
Set questionState to 0
return
endif
if (button == 3 )
PlaySound, "bell3"
PlaceAtPC "bonelord" 1 512 1
Set questionState to 0
return
endif
if (button == 4 )
PlaySound, "bell3"
PlaceAtPC "skeleton archer" 1 512 1
Set questionState to 0
return
endif
if (button == 5 )
PlaySound, "bell3"
PlaceAtPC "Bonewalker_Greater" 1 512 1
Set questionState to 0
return
endif
if (button == 6 )
PlaySound, "bell3"
PlaceAtPC "corprus_lame" 1 512 1
Set questionState to 0
return
endif
if ( button == 7 )
Set questionState to 9
return
endif
if ( button == 8 )
Set questionState to 0
return
endif
endif
if ( questionState == 9 )
MessageBox "Gegen wen wollt Ihr antreten?" "Skamp" "Daedroth" "Dremora" "Ogrim" "Goldene Heilige" "Erleuchteter Schläfer" "Atronachen" "Stärkere Kreatur" "Niemand"
Set questionState to 10
Return
endif
if ( questionState == 10 )
set button to GetButtonPressed
if ( button == 0 )
PlaySound, "bell3"
PlaceAtPC "scamp" 1 512 1
Set questionState to 0
return
endif
if (button == 1 )
PlaySound, "bell3"
PlaceAtPC "daedroth" 1 512 1
Set questionState to 0
return
endif
if (button == 2 )
PlaySound, "bell3"
PlaceAtPC "dremora" 1 512 1
Set questionState to 0
return
endif
if (button == 3 )
PlaySound, "bell3"
PlaceAtPC "ogrim titan" 1 512 1
Set questionState to 0
return
endif
if (button == 4 )
PlaySound, "bell3"
PlaceAtPC "golden saint" 1 512 1
Set questionState to 0
return
endif
if (button == 5 )
PlaySound, "bell3"
PlaceAtPC "ascended_sleeper" 1 512 1
Set questionState to 0
return
endif
if (button == 6 )
PlaySound, "bell3"
PlaceAtPC "atronach_flame" 1 512 1
PlaceAtPC "atronach_frost" 1 512 1
PlaceAtPC "atronach_storm" 1 512 1
Set questionState to 0
return
endif
if ( button == 7 )
Set questionState to 11
return
endif
if ( button == 8 )
Set questionState to 0
return
endif
endif
if ( questionState == 11 )
MessageBox "Gegen wen wollt Ihr antreten?" "Dagoth Ur" "Vivec" "Unfertiger" "Almalexia" "Hircine" "Stärkere Kreatur" "Niemand"
Set questionState to 12
Return
endif
if ( questionState == 12 )
set button to GetButtonPressed
if ( button == 0 )
PlaySound, "bell3"
PlaceAtPC "arena_dagoth_ur" 1 512 1
Set questionState to 0
return
endif
if (button == 1 )
PlaySound, "bell3"
PlaceAtPC "arena_vivec" 1 512 1
Set questionState to 0
return
endif
if (button == 2 )
PlaySound, "bell3"
PlaceAtPC "arena_Imperfect" 1 512 1
Set questionState to 0
return
endif
if (button == 3 )
PlaySound, "bell3"
PlaceAtPC "arena_Almalexia_warrior" 1 512 1
Set questionState to 0
return
endif
if (button == 4 )
PlaySound, "bell3"
PlaceAtPC "arena_hircine" 1 512 1
Set questionState to 0
return
endif
if ( button == 5 )
MessageBox "Es gibt keine stärkeren Kreaturen mehr"
Set questionState to 0
return
endif
if ( button == 6 )
Set questionState to 0
return
endif
endif
end