idk if this is what ur asking, but you would make a dialogue, then assign that dialogue to the npc you want, and when u click on the npc it brings up that dialogue
|
|
so im making monkey greegree's when clicked ill get them to make u a monkey but!
whats the code to put in therE?
like player.intonpc(id == 23) or sometihng plz tell me can't find anywhere thx!![]()
The code you are looking for would be this:
To change what NPC the player turns into, just change the "77" to whatever the NPC ID is. At the moment, you would turn into a zombie if you used the 77.Code:player.getAppearence().transformIntoNPC( Integer.valueOf(77));
There you go =)
Emily



Make it bring up an interface to get out of it, or unweild.Code:if (itemId == XXXX) { player.getAppearence().transformIntoNPC(X); }
| « [718] What's going on with my SOF? | Mentios 718 Buildings are broken ++rep » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
| Tags for this Thread |