|
Observe...
Looks like a perfectly working dialogue conversation amirite?Code:case 20: sendNpcChat1("Hello. What are you doing here?", c.talkingNpc, "Hans"); c.nextChat = 21; break; case 21: sendPlayerChat1("I have come to kill everyone in the castle!"); c.nextChat = 22; break; case 22: sendNpcChat1("Help! Help!", c.talkingNpc, "Hans"); c.nextChat = -1; break;
But look at what happens when you compile.
I have no idea what to do.
Anyone else have any clue?
sendNpcChat2 method is not declared in DialogueHandler.java
you have to add "", after the convo if it is 2 and another one if it is 3
e.g.
sendNpcChat2("Hello. What are you doing here?", "", c.talkingNpc, "Hans");
or
sendNpcChat3("Hello. What are you doing here?", "", "", c.talkingNpc, "Hans");
no its because sendNpcChat2 is supposed to have TWO quotes not one
way to just say exactly what i said..
Well obviously for the kid it was.
don't act all cool bruh
It tell you the error.......
It can't read the int and the last string.
You'll have to remove those so it look like:
Code:case 20: sendNpcChat1("Hello. What are you doing here?"); c.nextChat = 21; break; case 21: sendPlayerChat1("I have come to kill everyone in the castle!"); c.nextChat = 22; break; case 22: sendNpcChat1("Help! Help!"); c.nextChat = -1; break;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |