Use a switch statement.
|
I'm trying to make some quests on Shard, but.....I need to know one thing.
How would I make the quest progress go up if you talk to an npc, or you need a certain progress to get a certain message from that npc? Like...
if (progress == 1) {
dialogue = 100;
}
OR
if (dialogue == 100) {
progress == 2;
}
I've been having some troubles with getting this, can anyone help me out?
Use a switch statement.
I need help with getting the correct code. Because "dialogue == 1" isn't an actual method, I was just using it as an example.
Since Shard uses cfg files for dialogue and such, I need to know how to make the dialogue in the cfg file launch from my quest file (GettingStarted.java)
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |