Bumby
|
I am trying to add in a system if you kill a NPC you get a point, but not all NPCs give the same amount of "points".
I know how to make the method I just don"t know where to put it or how to use it.
Bumby
You need to make a token for like mypoints which would save into the character files. Then in npchandler (I believe) you would do something like this:
if(npcID==$$$$){
mypoints +1;
}
The token thing
} else if (token.equals("character-mypoints")) {
starter = Integer.parseInt(token2);
I knew I had to save it in the character file.
I might look at some Barrows mini-game tuts and see if they have a method for gaining points by killing things. I will post back If I find anything until then people please, continue to help me.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |