Jump to content

Question

Posted

Hi guys, it's been a while I asked some help but now I'm stuck on one problem, I'm trying to make monster move to current point which I give him on spawn but I have no idea what function or function set to use in order to make that mob move. 

 

example:

On spawn of Wolf I give him location (x,y,z) to move and need him to start moving immediately or after few seconds, that doesn't matter.

 

Anyone has clue how to make that? Thanks

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Search for Gordon AI or NpcWalker system on any L2J, and CtrlIntention.INTENTION_MOVE_TO. You should find some exemples. ^^

 

My DrChaos for example :

npc.getAI().setIntention(CtrlIntention.MOVE_TO, new L2CharPosition(95928, -110671, -3340, 0));

About where to add it, you can override onSpawn if it's not already done. Dependant exactly what you want to do.

Edited by Tryskell

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Legends never truly die. They just wait for the right time to return. For over a decade, Vindication (aka Noobwars) held the crown as the longest-running and most legendary Greek private server. We built a home, created unbreakable bonds, and lived through thousands of hours of epic PvP, endless castle sieges, and unforgettable memories. Lately, others have tried to use our name to mimic what we built. But you can't copy soul, and you can't fake history. As the original Administrator, I am proud to tell you that the waiting is finally over. The true architect is back to bring you the ultimate Interlude experience. We are returning to revive that pure, old-school Lineage 2 nostalgia—the way it was always meant to be played. Just the authentic Vindication vibe we all fell in love with. Gather your old comrades, prepare your clans, and get ready to step back into the world of Interlude where it all started.   The original era begins again. Welcome home. GM*absolut*   Server Rates VINDICATION CLASSIC INTERLUDE x4  EXP/SP: x4  Adena: x2  Drop: x3  Spoil: x3  Seal Stones: x2  Raid Boss EXP/SP: x2  Raid Boss Drop: x1  Epic Boss Drop: x1  Manor: x1  Safe Enchant: +3  Max Enchant: +20  Normal Scroll Chance: Retail  Blessed Scroll Chance: Retail   🚀 Nostalgia Meets Next-Gen Technology We are not just bringing back the server you loved; we are upgrading it for the modern era. For the first time ever, we have integrated DLSS 5 into our Interlude client. Experience the classic gameplay you miss with ground-breaking performance     More info @ sites   Website:    http://www.vindication.gr Discord:       https://discord.gg/BVtgYvjyk6 Facebook:  https://www.facebook.com/groups/lineage2gr
    • maybe you can try L2jBayev Chronicle 4 project.
    • I think that bastard has been doing this for a long time, taking advantage of his reputation. 
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..