The poring mob wanders aimlessly instead of going to the assigned coordinates
The poring does not die after 10 seconds.
If I modify the script to use .@GID = getnpcid(0); It still does not act upon the NPC or the poring.
If I modify the script to use .@GID = getcharid(3); the invoking PC walks about 10 steps, waits a few seconds, and dies.
I understand why the character only waits a few seconds instead of exactly ten. The sleep counter starts as soon as the player begins walking, and it takes less than ten seconds to reach the destination, the remainder then expends and the player dies.
What I don't understand is why these commands don't work on Mobs or NPCs when even the rAthena wiki implies they should.
Question
Satoh
Ok, so I tried this out, thinking it might be the answer to what I was trying to do.
What works:
What doesn't:
If I modify the script to use .@GID = getnpcid(0); It still does not act upon the NPC or the poring.
If I modify the script to use .@GID = getcharid(3); the invoking PC walks about 10 steps, waits a few seconds, and dies.
I understand why the character only waits a few seconds instead of exactly ten. The sleep counter starts as soon as the player begins walking, and it takes less than ten seconds to reach the destination, the remainder then expends and the player dies.
What I don't understand is why these commands don't work on Mobs or NPCs when even the rAthena wiki implies they should.
Can anyone tell me what's up?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.