If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Morning everyone,
How may I make NPC/L2 monsters check for Z coordinate when attacking a player? For example, player A on wyvern attacks an npc, flies high up into the sky but the npc can still attack him/her if geodata is not blocking line of sight for the player. How do I set the Z coordinate distance from NPC to PLAYER so that an npc will no longer attack a player on wyvern who had gone beyond that Z distance threshold?
This is one of the little things I had on my to check lists so any input is appreciated. Thanks.
NPC check Z coordinate?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: NPC check Z coordinate?
maybe check methods of net.sf.l2j.gameserver.util.Util which calculate/check distance of objects and where are they called without z-coord check
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!