I am modifying an existing module "Ambrosia" made by UOAbigail. It's a great module. It uses a lot of scripting and I decided to do the same instead of using wizards. I figure it will work better with the existing world.
Right now I am working on adding the ability to give an NPC multiple delivery quests. You only see the next quest available. When you finish one, you can try the next quest in the list. I set a variable on the pc that is the
quest
number they are on.
I've come to the point where I'm ready to give the PC a quest in the conversation. Let's say the NPC has 2 quests and the PC is new.
How do I show the next available quest only? I figure I need a line in the conversation for each quest the npc has to offer, then I have to check if the PC is on that quest to show it.
- NPC: Would you mind helping me?
- PC: Sure!
- if Quest_ID_# == 1 "Please do quest 1"
- else if Quest_ID_# == 2 "Please do quest 2"
- is quest 1? return True; else return FALSE;
- is quest2? return True; else return FALSE;
Any questions? Thank you for your help!





Retour en haut






