I want to create a npc (an animal), that the command of a player(specific), he attack other NPC monsters, do not know how to do this, someone could show me?
|
![]() Sep 17 2014, 4:38 am
Best response
|
|
Merely one way to do what you said. Obviously there's more to it then shown.
|
GhostAnime wrote:
Merely one way to do what you said. Obviously there's more to it then shown. new /Animal(src) // Create a new Animal instance (default loc will place it in the mob's content initially) then used the copy and past, to know whether it will be functional, but it is showing error |
When people show you snippets on the forum, the point is to understand what is going on and not just copy/paste and modify & hope for the best.
Obviously it will give you indentation errors and it is not complete. Read through, find out what is going on and ask questions about any part you do not understand. ... Just don't expect a plug-and-play snippet on the forum. |