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

  1. // ZZ> This function makes an item fall to the floor when spawned
  2. IfUsed
  3.   tmpargument = 30
  4.   SetReloadTime
  5. IfDropped
  6.   KeepAction
  7. IfHitGround                // Make a sound
  8.   tmpargument = 0              //
  9.   tmpdistance = rand & 2047 + 10000      //
  10.   PlaySound                  //
  11. IfGrabbed                // Tell them what they've won...
  12.   SetTargetToWhoeverIsHolding          //
  13.   IfTargetIsAPlayer              //
  14.     tmpargument = 0              //
  15.     SendMessageNear              //
  16. End                    // All done
  17.