quests question

For questions relating to POL scripting (not necessarily related to WoD)

Moderators: Siobhan, Sebastian, Drocket

quests question

Postby fitzchivary on Tue Nov 04, 2003 7:59 am

i was trying to make a quest for christmas
wher i set up santas workshop that has been overrun with evil elfs and the grinch.

what im trying to do is make it where players talk to santa and say quest to him and he tells them the grinch and the evil elfs took over his work shop and stole his toy list and he will give them a reward if they can retrive his list .

i see ther is a quest scripts but i cant figure out how i can get this to work with the built in qu system

can anyone like point me in the right direction
fitzchivary
Jr. Oldbie
 
Posts: 208
Joined: Sat Mar 15, 2003 4:05 am

Postby Drocket on Tue Nov 04, 2003 8:17 am

Its actually pretty simple. First you need an NPC to play Santa. Not all NPC scripts can use the quest system. I generally tell the WoD seers to stick to merchants and guards: they're generally the safest (in terms of 'I guarantee they'll always work'.) A guard would probably be pretty good for santa.

Once you have your NPC set up (dressed and all that), key '.keyword' and target the NPC. Press the 'Add New Keyword' button and enter 'quest'. That's the word that Santa will listen for. It'll then ask you to enter Santa's reply. That's all there is to entering a new keyword. You can enter as many of them as you want to. You can add an item to the keyword too by pressing the appropriate button: When the NPC hears that keyword, he'll give his little speech, then hand out the item. If you tell the NPC to hand out a container, instead of giving the container, he'll instead give out one of the items in the container.

Next is the list: create the item you want to use as the list (non-stackable), type '.questitem' and target it. You'll get a similar menu to the last one. Press the 'Assign Deliver-to' button and target Santa. You'll then get some more options, such as 'Set Deliver speech' (what Santa will say when you give the item to him) and assorted options for giving out rewards.
Drocket
Site Admin
 
Posts: 820
Joined: Mon Oct 07, 2002 2:54 am


Return to Scripting Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron