Vendors and Brains - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Vendors and Brains (/Thread-Vendors-and-Brains) |
Vendors and Brains - artexd - 09-08-2014 05:32 AM I'am new here and have some questions... How do I change brain_vendor? Or how I make my own brain definition? What is inside the brain_vendor? And one more: How do I make a NPC to walk in a specified region? RE: Vendors and Brains - Crusader - 09-08-2014 08:40 AM I guess this is the wrong section, prolly this post will be moved in general help section... anyway: directly from the spherewiki tutorial: Code: BRAIN_NONE 0 // Players: No brain. Convenient eh? :) basically a vendor type brain is able to accept the command buy and sell, and the related dialog window. Depending on what u want to do u might change it or not. about ur problem, a GOTO <coord> should do the trick, but u might need to check ur ini for settings about npc lost teleport and teleport distance....u might also want to set their home and homedist to the point u want they reach, to help them go in that spot. ,-) RE: Vendors and Brains - artexd - 09-08-2014 06:34 PM Thanks a lot! And tip with the home, homedist is really helpful. Sorry for writing in the wrong section I just want to add that sphere is amazing! |