Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1.  
  2. StartKill:
  3. Type: Interact
  4. Requirements:
  5. Mode: None
  6. Steps:
  7. 1:
  8. Proximity Trigger:
  9. Script:
  10. - CHAT "Hey, you there! You look strong, can you help me kill some things?"
  11. Click Trigger:
  12. Script:
  13. - CHAT "Can you help me?"
  14. Chat Trigger:
  15. 1:
  16. Trigger: /Yes/. I can.
  17. Script:
  18. #Tell the player what to do.
  19. - CHAT "I have a zombie problem! Zombies! everywhere!"
  20. - WAIT 1
  21. - CHAT "Zombies in the closet, zombie in the hall.. They're thick as flies on poo."
  22. - WAIT 1
  23. - CHAT "I'll pay you to clear them out for me. Kill 10 and come talk to me."
  24. #Start the Denizen listening for the killed Zombies, the KillComplete script will run once done.
  25. - LISTEN KILL TYPE:ENTITY NAME:ZOMBIE QTY:10 SCRIPT:KillCompete
  26. #set this script to step 2. So the player gets the hint message.
  27. - ZAP
  28. 2:
  29. Trigger: /No/. I cannot.
  30. Script:
  31. - CHAT "Are you sure? OK. maybe later?"
  32. 2:
  33. Click Trigger:
  34. Script:
  35. - CHAT "Kill 10 zombies please!"
  36.  
  37.  
  38. KillComplete:
  39. Type: Task
  40. Script:
  41. - FINISH
  42. - NARRATE "You have killed 10 zombie, return to John Q QuestGiver for your reward"
  43.  
  44. EndKill:
  45. Type: Trigger
  46. Requirements:
  47. Mode: All
  48. List: #Check if they finished the kill.
  49. - FINISHED KillComplete
  50. Steps:
  51. '1':
  52. Click Trigger:
  53. Script:
  54. #Engage is used to keep the player from clicking twice.
  55. - ENGAGE
  56. - CHAT "Thank you so much! Here, take this as a reward!"
  57. - GIVE DIAMOND_AXE QTY:1
  58. - WAIT 1
  59. - CHAT "They'll be back soon enough, let me know if you want to kill some more!"
  60. #These next 2 commands reset the quest so it can be repeated. If you don't want it repeatable make a step 2 on this script and call ZAP instead.
  61. - ZAP 1 SCRIPT:StartKill
  62. - RESET FINISHED SCRIPT:KillComplete
  63. #Always disengagae after an Engage
  64. - DISENGAGE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement