Jump to content
Sign in to follow this  
Aracnaytar

What's Wrong With My Dialogue?

Recommended Posts

Questions of this type have probably been asked hundreds of times before, but here goes:

 

Code:
begintalkscript;variables;begintalknode 1;	state = -1;	condition = 1;	nextstate = 1;	question="Mister Spoiler";	personality = 3;	action = INTRO;	text1 = "The man looks up.";	text2 = "_Hi._";	text5 = "Hey again.";
The creature who this node should be attached to has personality #3. The above code is inside the proper filename ({town}dlg.txt).

 

However, upon entering the scenario, I find that the creature "seems not to want to talk" - apparently, this node can't be found.

 

What am I missing here?

 

Edit: [/code], not [/condition]. So in a way, I found the problem: I'm tired as hell. But what the concrete issue is, I haven't found out.

Share this post


Link to post
Share on other sites

You have to set the creature's third memory cell to whatever talk node their conversation starts with. So in this case, memory cell 3 should be 1.

 

Dikiyoba.

Share this post


Link to post
Share on other sites
Quote:
Originally written by Dikiyoba:
You have to set the creature's third memory cell to whatever talk node their conversation starts with. So in this case, memory cell 3 should be 1.

Dikiyoba.
Ouch. I knew I was missing something regarding the creature::node assignment, since the manual said the "personality" attribute was cosmetic.

In other news, I'm extremely glad Jeff did not create PHP.

But this also solves my problem of needing two entry points for this guy, depending on an SDF. I'll just change the memory cell value.

Wait... that's possible, right?

Share this post


Link to post
Share on other sites

Yes. You can use this from a town script:

Code:
set_creature_memory_cell(short which_char_or_group,short which_cell,short new_value);
and this from inside a creature script
Code:
set_memory_cell(short which_cell,short new_value);

Share this post


Link to post
Share on other sites

The docs say that personality is purely cosmetic, but actually it does serve a purpose. In windows BoA (my version at least) intro texts depend on the character's personality. So every character who uses an intro needs to have it's own personality (even different towns can't have the same one.) Apparently this isn't an issue on Macs, but you still should set personalitys so that windows players don't have this problem (Or at least so I don't have this problem. laugh )

Share this post


Link to post
Share on other sites

Aran is working on a scenario?!?!!!

 

laugh

 

My interest has been peaked.

Share this post


Link to post
Share on other sites
Quote:
Originally written by The Gators Win it All....... Again:
The docs say that personality is purely cosmetic, but actually it does serve a purpose. In windows BoA (my version at least) intro texts depend on the character's personality. So every character who uses an intro needs to have it's own personality (even different towns can't have the same one.) Apparently this isn't an issue on Macs, but you still should set personalitys so that windows players don't have this problem (Or at least so I don't have this problem. laugh )
Well, it's still an issue with Macs. But I'm pretty sure that you mean the personality set via the editor. The personality spot in the dialog script itself means nothing.

Share this post


Link to post
Share on other sites

Yes, I did. I hadn't known about it until I realised that all the intros in FB were screwed up. I'd set them in Dilecia, but I don't know why I'd bothered since I thought they had no purpose.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×