Jump to content

Panason9c

VIP
  • Content Count

    6
  • Joined

  • Last visited

  • Feedback

    100%

Community Reputation

1 Bronze

About Panason9c

  • Rank
    Newbie

Profile Information

  • Gender
    Male

Recent Profile Visitors

134 profile views
  1. I got what I needed! Thank you both, brothermen!
  2. Hi guys, I'm into scripting for 2 weeks now and ran into another problem now that I can't seem to solve. Thought I'd ask for help. I'm trying to make a pker help where I would get all players attacking/surrounding him within 1 tile. That's the snippet where I cant figure out a way to get the player object next to him I appreciate all help
  3. Thank you for your answer! This example is exactly what I was looking for! Mucho gracias!
  4. Hi fellow forum members, Im a rookie scripter and im trying to get the ColorPicker to work. I don't quite understand how it works. Before you say google it- I've spent hours on this as of now, even tried searching in open source scripts here's the api https://osbot.org/api/org/osbot/rs07/api/ColorPicker.html#isColorAt-int-int-java.awt.Color- 1) public boolean isColorAt(int x, int y, java.awt.Color color) x - x coord y - y coord color - the color to look for I understand this is to check if specified colour exists at specified coords. I tried isColorAt(120,200,rgb(123,123,123)) for example, Also I tried isColorAt(120,200,Color.RED), nothing works 2) public java.awt.Color colorAt(int x, int y) x - x coord y - y coord This should be used to get the colour at the specified coords. I dont understand how to retrieve this data. Also, does it get the color data as RGB? I want my code to trigger a method when "Color at mouse = R: x G: y B: z" changes Would any of you be able to help me understand this via an example. I appreciate the help
×
×
  • Create New...