Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Camera moving on its own?


    Recommended Posts

    Have been working on my first script as of late...I'm not making any calls to manually move the camera, but while I'm doing things like looking for and attacking NPC's, the camera seems to be automatically rotating to point at the NPC.  I don't want this!  How can I prevent any camera movement?


    Link to comment
    Share on other sites

    You can create your own interaction event using your own interaction settings.

    EntityDestination ed = new EntityDestination(getClient(), yourEntity);
    InteractionEvent ie = new InteractionEvent(ed);

    ie.interact("Attack", InteractionSetting.MOVE);


    Note that atm the MOVE setting doesn't do anything, but you can't give it an empty list or it'll use the default interact which rotates the camera.


    This will make the interaction not rotate the camera, though.

    Link to comment
    Share on other sites

    • Create New...

    Important Information

    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.