More Dialog

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: More Dialog
Lifecrafter
Member # 6193
Profile Homepage #0
What command do you write to make a shop window appear in dialog? Also, where do you write the script to stock the shop, the town script, or scenario script?

--------------------
Guaranteed to blow your mind.

Frostbite: Get It While It's...... Hot?
Posts: 900 | Registered: Monday, August 8 2005 07:00
Master
Member # 5977
Profile Homepage #1
All this you can find in the editor manual and appendices

To make a shop, you should make in the dialogue node the shop starts the follwing sort of command:

begintalknode ..;
state = ..;
personality = ..;
nextstate = ..;
condition = ..; //This is optional
question = "..";
text1 = "..";
code =
begin_shop_mode(name of the shop,description of the shop,num of the shop,prise adjust,sell adjust);
break;
the calls for stocking the shop, you should put in the scenario script, in the INIT_STATE.

You can read more about this in the chapter Creating dialog in the editor manual.

[ Sunday, August 14, 2005 09:14: Message edited by: Marvin, the paranoid android ]

--------------------
Play and rate my scenarios:

Where the rivers meet
View my upcoming scenario: The Nephil Search: Escape.

Give us your drek!
Posts: 3029 | Registered: Saturday, June 18 2005 07:00