home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 42 / CDGAMER42.iso / Egoboo / egoboo.exe / egoboo / modules / rogue.mod / objects / prisoner.obj / script.txt < prev    next >
Text File  |  2000-03-18  |  705b  |  32 lines

  1. //------------------------------------------------------------------------------
  2. // Make snores go at different times
  3. IfSpawned
  4.   tmpargument = selfindex & 3 < 6
  5.   SetTime
  6.  
  7.  
  8. //------------------------------------------------------------------------------
  9. // Sleepy Z's
  10. IfTimeOut
  11.   tmpx = selfx
  12.   tmpy = selfy
  13.   tmpdistance = selfz
  14.   tmpargument = 1
  15.   SpawnExactParticle
  16.  
  17.  
  18.   // Snore
  19.   tmpargument = rand & 3
  20.   tmpdistance = rand & 2047 + 15000
  21.   PlaySound
  22.  
  23.  
  24.   // Wait a while
  25.   tmpargument = 100
  26.   SetTime
  27.  
  28.  
  29. //------------------------------------------------------------------------------
  30. End
  31. //------------------------------------------------------------------------------
  32.