Page 1 of 1

[Question] Some NPCs properties... need help

Posted: Sat Dec 19, 2009 2:24 am
by qbert
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:3695
L2JDP Revision Number:6775

Well frist I want to create a NPC who trade ONLY with members of the clan who own a castle, i have the HTML and XML ready but i dont know how to set this :(

Is there any way to make some NPCs dissapear during Sieges? or make them unavaliable for anybody (like guard who give the attackers and defenders info)

And finally, i want to create a NPC who spawns every X mins in many locations, like Merchant of Mammon does...


Any help with this issues will be greatly appreciated :)

Re: [Question] Some NPCs properties... need help

Posted: Sun Dec 20, 2009 6:41 pm
by jurchiks
about the random spawning, i think there was a table in database for that, like npcid, loc1, loc2, respawntime, or at least that's how i would imagine it
about the specific-players-only npc, check that very same guard html, if there is nothing there, than probably it's done in core
if such things exist in server already, you just need to find them and fit them to your needs, i'd say you're lazy...