Dailogs: reply concatenated message?

notdefix

First time out of the vault
Hi,

I'm trying to set up some dialog. From what I gathered there is the following options to make a critter say something:

Code:
Reply(msg_num);                             -> alias for:  gSay_Reply(NAME, msg_num);
gSay_Message(msg_list, msg_num, reaction);  -> not sure how this differs from gSay_Reply(...); last argument is maybe pointer to critter?
gSay_Reply(msg_list, msg_num);

However, the above options all point directly to a message number and only show one message: if I call gSay_Reply(...); more than once, only the last message is shown.

How do I show a message concatenated from several parts?
 
Here's an example:

Reply(mstr(100) + mstr(101));

Assuming your script is number 111 and the dialog lines are 100 and 101, it will come out like this:

gsay_reply(111, message_str(111, 100) + message_str(111, 101));
 
Huh, why aren't you using the macros?

Code:
procedure talk_p_proc begin
  start_dialog_at_node(Node001);
end

procedure Node001 begin
  Reply(200);
  NOption(dude_name + mstr(201),Node002,004);
end

etc.
This way, the dialogue option will be the players name + some text. Same can be done with mstr(x) + mstr(y), of course.
 
Back
Top