Help creating "quest"
I want to make a newbie "quest" for my server and, after looking over the Quest Tutorial, I decided that I have no hope of doing it myself ... so I am hoping that someone here will assist me.
I need a NPC to 1. React to a hail with "Greetings friend and welcome to the world of Norrath. Are [you interested in some gear] to help you get started?" 2. Respond to "i am interested in some gear" with something like "Here you go my friend. Now please don't loose these precious items, as I will not assist you any further." - and two items and a flag that denies the player from doing the quest again (items can be any 2 items, I can change the ID's later on) 3. If possible, the reaction to a player using the phrase "i am interested in some gear", should be something like "You again. - I told you not to ask me for any further assistance. I cannot help you, now go away." Kind regards herold |
I'm going to take a swing at this, though I'm still rather new & trying to teach myself how to write quests and etc. If someone more experienced than I could correct me, please do.
Quote:
I don't know yet (if possible) how to flag a character for non-repeat. I hope this helps. |
It looks right, but as I have no coding experience, I may not be the one to say.
With regards to the flag, I dont know if it is actually possible ... If it is not, can it be added to the script, that you can only do the quest if you are at lvl 1 and not above? I would prefer the flag though. |
Quote:
If not you can find it (quests) at a link on my web page. |
I checked the TutB quest folder and found Vahlara.pl file ... it contained something interesting ...
Code:
if (($text=~/hail/i)&&(${$name}!=2)){ >>EDIT<< I tried modifying the script and this is what I came up with, so far ... Code:
sub EVENT_SAY{ 1. line 2 - the number "2" ??? 2. line 6 - the number "2" again ??? 3. line 7 - all of it ... why "delglobal" ??? 4. line 8 - the number "2" here defines "value" = "this/all/this" and the number "0" defines "options" = "this/this/this" and it should only pertain to that NPC for that PLAYER in that ZONE ?!? I changed to the number "0" from a "3". The "F" defines "duration" and I set this to "F" as it should last forever. Any further advice and/or corrections? As I don't imagine this script is complete ... |
All times are GMT -4. The time now is 07:14 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.