Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 17:48:14 [INFO] +- Getting interact script: 'QuestMaster'/bobbshields -+
- 17:48:14 [INFO] | ERROR! Could not find any scripts assigned!
- 17:48:14 [INFO] +---------------------+
- 17:48:14 [INFO] +- Parsing click trigger: 'QuestMaster'/bobbshields -+
- 17:48:14 [INFO] | Getting current step:
- 17:48:14 [INFO] | ...current step not found, assuming '1'.
- 17:48:14 [INFO] | ERROR! Could not find script at:
- 17:48:14 [INFO] | null.Steps.1.Click Trigger.Script
- 17:48:14 [INFO] | Check YML spacing, or is something spelled wrong in your script?
- Assignment:
- Denizens:
- 'QuestMaster':
- Interact Scripts:
- - 0 StartZombie10
- - 10 EndZombie10
- Script:
- StartZombie10:
- Type: Interact
- Requirements:
- Mode: None
- Steps:
- 1:
- Proximity Trigger:
- Script:
- - CHAT "Hey, you there! You look strong, can you help me kill some things?"
- Click Trigger:
- Script:
- - CHAT "Can you help me? Just say Yes or No"
- Chat Trigger:
- '1':
- Trigger: /Yes/. I can.
- Script:
- #Tell the player what to do.
- - CHAT "I have a zombie problem! Zombies! everywhere!"
- - WAIT 1
- - CHAT "I'll pay you to clear them out for me. Kill 10 and come talk to me."
- #Start the Denizen listening for the killed Zombies, the KillComplete script will run once done.
- - LISTEN KILL TYPE:ENTITY NAME:ZOMBIE QTY:10 SCRIPT:KillZombie10Complete
- #set this script to step 2. So the player gets the hint message.
- - ZAP
- '2':
- Trigger: /No/. I cannot.
- Script:
- - CHAT "Are you sure? OK. maybe later?"
- 2:
- Click Trigger:
- Script:
- - CHAT "Kill 10 zombies please!"
- KillZombie10Complete:
- Type: Task
- Script:
- - FINISH
- - NARRATE "You have killed 10 zombie, return to John Q QuestGiver for your reward"
- EndZombie10:
- Type: Trigger
- Requirements:
- Mode: All
- List: #Check if they finished the kill.
- - FINISHED KillZombie10Complete
- Steps:
- 1:
- Click Trigger:
- Script:
- - ENGAGE #Engage is used to keep the player from clicking twice.
- - CHAT "Thank you so much! Here, take this as a reward!"
- - GIVE SPONGE QTY:5
- - WAIT 1
- - CHAT "They'll be back soon enough, let me know if you want to kill some more!"
- #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.
- - ZAP 1 SCRIPT:StartKill
- - RESET FINISHED SCRIPT:KillZombie10Complete
- #Always disengagae after an Engage
- - DISENGAGE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement