He doesn't want to talk anymore

Started by Frodo, Thu 02/05/2019 20:45:28

Previous topic - Next topic

Frodo

Working on my first game here. 

The Player Character suddenly refuses to talk to anyone.
I run a Test Build... use the Talk cursor to talk to another character... and nothing happens. 
And I can't figure out why.  He talked fine before. 

I've probably done something really stupid... but what? 

Code: ags

// Dialog script file
@S  // Dialog startup entry point
JASON: "Hi there."
MANAGER: "*grunt*   You must be the competition winner."
MANAGER: "What was the name again… John?  Jacob?  Josh?"
return
@1
MANAGER: "Jason!  I see!"
MANAGER: "Well, you're here now, so I suppose I'll just have to make the best of it!"
MANAGER: "I'm the Manager for UpTempo Maniacs."
goto-dialog dManagerResponse1
@2
MANAGER: "Well, you're here now.  I'm the band's manager."
goto-dialog dManagerResponse2
@3
MANAGER: "I'd rather not!"
goto-dialog dManagerResponse3
stop



EDIT:  Using AGS 3.4.1

eri0o

You don't need " when writing dialogs.

Did you remember to wire the character talk interaction to the dialog in the global script? Does it actually starts this dialog?

Frodo

Ahhh!  Somehow I deleted the 'Function CManager_Talk' from the global script.

It works again now.  Thanks.

SMF spam blocked by CleanTalk