home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 42 / CDGAMER42.iso / Egoboo / egoboo.exe / egoboo / modules / advent.mod / objects / advent.obj / script.txt < prev    next >
Text File  |  2000-03-04  |  1KB  |  57 lines

  1. //-----------------------------------------------------------------------------
  2. // ZZ> Gong sound
  3. IfCleanedUp
  4.   tmpargument = 6
  5.   tmpdistance = 8000
  6.   PlayFullSound
  7.  
  8.  
  9. IfTooMuchBaggage
  10.   tmpargument = 8
  11.   tmpdistance = rand & 1023 + 13000
  12.   PlaySound
  13.   tmpargument = 6
  14.   SendMessageNear
  15.  
  16.  
  17. IfUsed
  18.   tmpargument = 7
  19.   tmpdistance = rand & 2047 + 13000
  20.   PlaySound
  21.  
  22.  
  23. IfKilled                // This reduces the height of the char
  24.   tmpargument = 2              // Death sound
  25.   tmpdistance = rand & 2047 + 13000      //
  26.   PlaySound                  //
  27.   tmpargument = 3
  28.   IfArmorIs
  29.     tmpargument = MESSAGECOSTUME
  30.   Else
  31.     tmpargument = MESSAGEDEATH          // Last words...
  32.   IfTargetIsOnSameTeam              // Fragged!
  33.     tmpargument = MESSAGEFRAG            //
  34.     IfTargetIsSelf                // No, just a damage tile
  35.       tmpargument = MESSAGEACCIDENT           //
  36.   SendMessage                  //
  37.   tmpargument = 65535              // Drop money
  38.   DropMoney                  //
  39.   DropKeys
  40.   tmpargument = 45              //
  41.   SetBumpHeight                  //
  42. IfLeaderKilled                // Take control
  43.   BecomeLeader                  //
  44. IfAttacked                // Yell at friends
  45.   SetTargetToWhoeverAttacked          //
  46.   IfTargetIsOnSameTeam              //
  47.     tmpargument = MESSAGEOUCH            //
  48.     SendMessageNear                //
  49.     tmpargument = 5                // Stop That sound
  50.     tmpdistance = rand & 2047 + 13000        //
  51.     PlaySound                    //
  52.   Else                      //
  53.     tmpargument = rand & 1 + 3            // Damage sounds
  54.     tmpdistance = rand & 2047 + 13000        //
  55.     PlaySound                    //
  56. End
  57.