public void spokentoNPC() {
spoketonpc +1;
}
if (spoketonpc >= 1) {
proceed here
if (spoketonpc <= 0) {
c.sendMessage("You may not proceed.");
return;
It's very simple mate.
|
I'd like to make it so that you cannot continue down a staircase until dialogue has been completed with an npc. For instance, you spawn in a room upstairs with a butler and a staircase. You cannot go down the staircase until you've spoken to the butler.
How can I make that possible?
Also, I'd like to add after that: You cannot speak to one NPC until you've spoken to another.
For instance, man 1 and man 2 are in a room. If you speak to man 2, he tells you that you had better speak to man 1 first. After you speak to man 1, you may now speak to man 2.
Any help please?
public void spokentoNPC() {
spoketonpc +1;
}
if (spoketonpc >= 1) {
proceed here
if (spoketonpc <= 0) {
c.sendMessage("You may not proceed.");
return;
It's very simple mate.
I only gave you an idea of what it would look like, don't use that or your a true leecher.
I'm no expert with 667s. =\ I appreciate what you've given me, but could you please elaborate just a little bit more?
I've got all the dialogues finished, I just don't know exactly what to do with this, and exactly how to write it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |