home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 42 / CDGAMER42.iso / Egoboo / egoboo.exe / egoboo / modules / palshad.mod / objects / bosspork.obj / script.txt < prev    next >
Text File  |  2000-02-29  |  860b  |  46 lines

  1. // ZZ> This item is goes away when picked up, Runs end conditions
  2. IfSpawned
  3.   SetTurnModeToSpin
  4.   DisableExport
  5. IfTimeOut
  6.   // Make sparklies
  7.   SpawnPoof
  8.   tmpargument = 10
  9.   SetTime
  10. IfGrabbed
  11.   EnableExport
  12.   BeatModule
  13.   tmpargument = 0
  14.   tmpdistance = 11025
  15.   PlayFullSound
  16.   StopMusic
  17.  
  18.   SetTargetToWhoeverIsHolding
  19.   tmpargument = 0
  20.   SendMessageNear
  21.  
  22.   tmpargument = 100
  23.   tmpdistance = EXPSECRET
  24.   GiveExperienceToTarget
  25.  
  26.   tmpargument = 300
  27.   tmpdistance = EXPQUEST
  28.   GiveExperienceToTargetTeam
  29.  
  30.   // Set the end text
  31.   ClearEndMessage
  32.   tmpargument = 1
  33.   AddEndMessage
  34.   tmpargument = 2
  35.   AddEndMessage
  36.  
  37.   // Mark this module as beaten, hidden modules may open up
  38.   tmpargument = [BEAT]
  39.   AddIDSZ
  40.  
  41.   // Become the export object
  42.   SetTargetToSelf
  43.   tmpargument = 125
  44.   ChangeTargetClass
  45. End                    // All done
  46.