If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4486:
L2JDP Revision 7756:
Hello all, I have some question about NPC moves.
I would like that my npc (monster), don't move until I attack him.
I can do this : can_move = 1, walkspd = 1, runspd = 180 for exemple
(For what I understood, walkspd is when is not under attack, and runspd when attacked)
With that configuration, when npc is not attacked, I see them legs move (like when he's walking) but he don't really move.
I would like to have the npc legs don't moving. Is there any way to do this ?
If I put can_move = 0, then when I attack him, he don't move, and if i put walkspd = 0, my client crash when i see the npc.
And the last thing : is there any way to define the move range from the spawn point ?
NPC move
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 31
- Joined: Fri Aug 03, 2007 11:40 am
Re: NPC move
Nobody have an answer ? Really ?
My question is so weird ?^^
My question is so weird ?^^
-
- L2j Veteran
- Posts: 629
- Joined: Fri Apr 18, 2008 9:09 pm
Re: NPC move
# Maximum distance mobs can randomly go from spawn point.
# DEFAULT NEEDS TO BE VERIFIED, MUST BE CHANGED HERE AND IN CONFIG.JAVA IF NOT CORRECT
# Default: 300
MaxDriftRange = 300
set this to 0
# DEFAULT NEEDS TO BE VERIFIED, MUST BE CHANGED HERE AND IN CONFIG.JAVA IF NOT CORRECT
# Default: 300
MaxDriftRange = 300
set this to 0
Playing a game where you know how every single mechanism works is quite satisfying.
Its the main perk that a gamer-developer has
Its the main perk that a gamer-developer has

-
- Posts: 31
- Joined: Fri Aug 03, 2007 11:40 am
Re: NPC move
Ok thanks =) So there is no way to define this point for a specific mob right ?
-
- L2j Veteran
- Posts: 629
- Joined: Fri Apr 18, 2008 9:09 pm
Re: NPC move
use a script for individual NPCs, set this
npc.setIsNoRndWalk(true);
npc.setIsNoRndWalk(true);
Playing a game where you know how every single mechanism works is quite satisfying.
Its the main perk that a gamer-developer has
Its the main perk that a gamer-developer has
