Bump!
|
|
Fixed this.
Bump!
well to make them stop attacking back, for them npc you may want to make a return for them, so they won't be in combat, and to keep them from dieing just make something like oh idk
the arrayCode:for (int j = 0; j < trainingNpcs.length; ++j) { if ((npcType == trainingNpcs[j]) && (currentHP <= 1)) { currentHP = getMaxHP(); isDead = false; } }
Code:public int[] trainingNpcs = {*ADD_NPC_HERE!*};
MaxHP
Code:int getMaxHP() { switch (npcType) { case ## return ##; break; } return 0; }

Lol glabay, why would you do this shit, especially if it's wrong?
Nvm guys I've done it now. Just use a if(npctype == 4474 etc, then make it reset the npcattack on the player and other stuff.
| « How to convert. | compiler help » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |