home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 1999 #8 / 1999 CD 8 (black).iso / maskdemo / DATA1.CAB / Program_Executable_Files / Game / KQ / rockHit.cs < prev    next >
Encoding:
Text File  |  1998-12-15  |  701 b   |  23 lines

  1. # $1 is the caller's name
  2. # $2 is the caller's action (Init, ConnorAction, TalkComplete, Die)
  3. # if action is Init
  4. #         No extra args
  5. # if action is ConnorAction:
  6. #         $3 is the inventory object's name ("do" if no inventory object)
  7. #         $4 is the inventory object's type ("do" if no inventory object)
  8. # if action is TalkComplete
  9. #         $3 is the MessageFile number
  10. #         $4 is the Noun number
  11. #         $5 is the Verb number
  12. #         $6 is the Condition number
  13. #         $7 is the final Sequence number
  14. # if action is Die
  15. #        No extra args
  16.  
  17. # death of the animobject
  18.  
  19. if test $2 == Die
  20.     KQObject::getLoc $1
  21. #    loadObject @ rok.kqs $KQObject::loc
  22.     KQMonster::dropItem Connor INVITEM_Rock $KQObject::loc
  23. endif