Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - MVP7

#1
OK problem solved. I hadn't linked talking to character to talk to cursor click as you both thought (and I also moved the script to global script), now it works. Thanks for help!
#2
Quote from: Tijne on Sun 30/08/2009 02:46:19
Is the character's "clickable" value set to true?  Can you do other things to the character, such as looking at them?
Are you sure you're using the TalkTo mouse mode on the character; that your cursor isn't set to something else?
Are you sure that the cMercantti_Talk() function is linked to the actual "Talk to" function in the character editor?
Are you able to tell if the cMercantti_Talk() function runs, or if the dialog is the portion that isn't running? (Try putting in like a "player.SayBackground("Thispartworks");" portion in the script right before dMer.Start();)

Character is cliclable. I have tried talk to cursor (and every other cursor too) propably hundreds of times now on every single pixel of Mercantti.

But that function linkin thing sounds like something that could be wrong (never even heard of it ::)) I put that "thispartworks" line to script:

function cMercantti_Talk()
{
player.SayBackground("Thispartworks");
dMer.Start();
}

But nothing happens. How do I do that linking stuff?
#3
I'm going through AGS tutorial but I got stuck at the end of getting started part 8. I have no idea what is wrong but when I try to "talk to" character absolutely nothing happens. I have double-triple checked all dialogs, character and dialog names and room script but can't find anything wrong

Here is  entire room script:

// room script file

function hHotspot2_Look()
{
Display("Se on tavallinen ikkunaton ja oveton tiilitalo");
}

function oKey_Interact()
{
player.Walk(159, 206,  eBlock);
oKey.Visible = false;
player.AddInventory(iKey);
Display("Ilmainen avain!");
}

function cMercantti_Talk()
{
dMer.Start();
}

These last four lines are supposed to start dialog named dMer after talking to character Mercantti (Real name: MERCANTTI, Script name cMercantti) , but using Talk to, on Mercantti does nothing. There is no error messages when starting game. I'm rather sure I have folloved the tutorial conscientiously.

Here are also the first lines of that dMer dialog:

// Dialog script file
@S  // Dialog startup entry point
EGO: "Terve!"
MERCANTTI: "..."
return
@1
SMF spam blocked by CleanTalk