I would like to figure this out too..
|
I decided my server needs a new boss and I think I've figured out what NPC I want for it. But how do I change it from a "Talk" to NPC to a "Attack" NPC? I looked but I couldn't find a tutorial for it.
EntityDef.java (client)
then something like this
Code:if(i == NPCID) { entityDef.itemActions = new String[5]; entityDef.itemActions[2] = "Attack"; entityDef.name = "NPC NAME"; entityDef.description = "DESCRIPTION.".getBytes(); }
^Client side.
npchandler.java
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |