Warpclaw Posted August 5, 2014 Posted August 5, 2014 Well I think this is an issue built into the client's API itself but I will ask anyways, is there anyway to implement something that will override the bots natural instinct to make the camera angle as low as possible when interacting with a monster?
FrostBug Posted August 5, 2014 Posted August 5, 2014 (edited) Wrong section, should probably be in Issues or Questions InteractionEvent evt = new InteractionEvent(bot, entity); evt.setOperateCamera(false); bot.getEventExecutor().execute(evt); Edited August 5, 2014 by FrostBug
Joseph Posted August 6, 2014 Posted August 6, 2014 You could use camra.up or camera.top not sure which one it is. It returns true when the camera is at the highest point.
Warpclaw Posted August 6, 2014 Author Posted August 6, 2014 Wrong section, should probably be in Issues or Questions InteractionEvent evt = new InteractionEvent(bot, entity); evt.setOperateCamera(false); bot.getEventExecutor().execute(evt); Wow I know that and I meant to post it there but I guess I had the wrong tab open lol sorry! Thanks though! InteractionEvent seems very promising but I don't know how to use it. Does it activate when my player starts interacting with the monster? I think I can make good use of it if that's the case
FrostBug Posted August 6, 2014 Posted August 6, 2014 Wow I know that and I meant to post it there but I guess I had the wrong tab open lol sorry! Thanks though! InteractionEvent seems very promising but I don't know how to use it. Does it activate when my player starts interacting with the monster? I think I can make good use of it if that's the case It activates as soon as you tell the EventExecutor to execute it (bot.getEventExecutor().execute(event))