Quests

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Quests
Lifecrafter
Member # 4682
Profile #0
I just gave an NPC a quest to give to the player. When he gives it, it says "A quest has been added to your list", like it's supposed to, but when I go to the list it doesn't have anything, not even the title of the list at the top. What's going on?

--------------------
Do not underestimate the power of the mechanical pencil.

Join the Dark side. We have cookies.

Played in:
Fiddler on the Roof
Bye Bye Birdie

"Hey, Patrick, feel this random pipe. It's squishy"-Nils
Posts: 834 | Registered: Thursday, July 8 2004 07:00
Off With Their Heads
Member # 4045
Profile Homepage #1
You need to initialize the quest in the LOAD_SCEN_STATE. Look up the call init_quest in the docs.

[ Friday, December 30, 2005 15:09: Message edited by: Kelandon ]

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Lifecrafter
Member # 4682
Profile #2
That's where I had put it. The entire list is blank. It doesn't even have "(you don't have any quests yet)".

[ Friday, December 30, 2005 15:48: Message edited by: Nicothodes ]

--------------------
Do not underestimate the power of the mechanical pencil.

Join the Dark side. We have cookies.

Played in:
Fiddler on the Roof
Bye Bye Birdie

"Hey, Patrick, feel this random pipe. It's squishy"-Nils
Posts: 834 | Registered: Thursday, July 8 2004 07:00
The Establishment
Member # 6
Profile #3
I've had similar trouble a long time ago. Try restarting the scenario (put the start location in a convenient place to test) and try triggering the node again. See if that works.

Also, are you sure you have specified everything in the init_quest node correctly?

[ Friday, December 30, 2005 17:35: Message edited by: *i ]

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Lifecrafter
Member # 4682
Profile #4
That didn't work either. Here's the portion of the code.

beginstate LOAD_SCEN_STATE;
init_quest(1, "quest", "quest description");
break;

EDIT: Never mind. Fixed it. Thanks everyone! :)

[ Saturday, December 31, 2005 06:15: Message edited by: Nicothodes ]

--------------------
Do not underestimate the power of the mechanical pencil.

Join the Dark side. We have cookies.

Played in:
Fiddler on the Roof
Bye Bye Birdie

"Hey, Patrick, feel this random pipe. It's squishy"-Nils
Posts: 834 | Registered: Thursday, July 8 2004 07:00
The Establishment
Member # 6
Profile #5
What was the problem?

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00