Jump to content

foshomyninja

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

foshomyninja's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. I need to hook into an event that is triggered whenever a hitsplat appears on the screen. If I'm standing around 10 people in combat, there would be anywhere from 10-20 hitsplats on the screen at any given time. I want an action triggered on each of those hitsplats. Every time the event is triggered, I want an object like `Hitsplat hitsplat`, where the hitsplat class may look something like this: class Hitsplat { Player player; HitsplatInfo info; } class HitsplatInfo { int damage; HitsplatType type; } enum HitsplatType { DAMAGE, POISON, VENOM, BLOCK } That way, I know which player the hitsplat was on, and using that player, I can get their opponent with `getInteracting()`. That's all I need, the details don't really matter. I know Runelite allows me to do this, as I've already written a plugin to do it...but I'd like to script it in OSBot as well. Just need to know if this kind of an API exists or if it can be created to match the functionality of Runelite. Or, if there is another way to achieve this without having to write an entire library on my own. Cheers!
  2. I'm looking for a way to get a players combat style. I know I can get my own combat style using configs 43 (refer to But is there a way to get another players combat style?
  3. Hi, I'm looking for a HitSplat API, similar to RuneLite's HitSplat API (https://github.com/runelite/runelite/blob/master/runelite-api/src/main/java/net/runelite/api/Hitsplat.java) Basically, I need an event (e.g. `onHitsplat`) that is triggered any time there is a HitSplat on my screen, whether it's on my user or on another user. And I need to be able to get the player the hitsplat was on. Can this be added to the API? If not, are there any other ways to achieve the same functionality?
×
×
  • Create New...