home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Magazin 1997 March / Image.iso / wd.dxr / Wettauswahl_67_WettAuswahlInit.ls < prev    next >
Encoding:
Text File  |  1996-10-28  |  741 b   |  21 lines

  1. global gNoPlayers, gWetten, gPlayerNumber, gPlayers, gfirstOkKlick
  2.  
  3. on exitFrame
  4.   set the puppet of sprite 7 to 1
  5.   set the castNum of sprite 7 to the number of member (gNoPlayers & "Wetten")
  6.   set the puppet of sprite 8 to 1
  7.   if gNoPlayers > 1 then
  8.     set the castNum of sprite 8 to the number of member "WettenWir"
  9.   else
  10.     set the castNum of sprite 8 to the number of member "WettenIch"
  11.   end if
  12.   VisibleSprites([3, 7, 8, 9, 10, 16])
  13.   if gNoPlayers = 1 then
  14.     VisibleSprites([11, 12, 13, 14, 15, 30])
  15.   end if
  16.   VisibleSprites([17, 18, 19, 20, 27, 28, 29, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 48])
  17.   resetCursor()
  18.   SpriteCursor([17, 18, 19, 20, 28, 29, 36, 39, 40, 41, 42, 44, 45, 48], "Finger")
  19.   set gfirstOkKlick to 1
  20. end
  21.