Jump to content

help requested


Recommended Posts

Hey guys, just wondering about somthing,

i need a script made for a game,

iv tried writing it myself but without any luck in general (might be becouse im just i'm new to this whole scriping part)

i have pos @1 & @2 that need to be looked for a certain pixel,

for example

1 found, then do action and do it until pos 2 is found.

if pos 1 is not found then do action until pos 1 is found then look for pos 2, and as soon as that is found do actions under pos 2

whats iv tried so far is just a simple

@pos 1

while

if@error then

;actions

exitloop

wend

@pos2

while

@if error

;actions

exitloop

wend

note; that is not the acctual script. >_<

also tried having two pixelsearches in one script and then have the action for @pos1 & @pos2 in two other scripts and just had a run ("xxxxx")

without luck,

is there a way to do it?

i know this is abit poorly written and might be confusing, it's 03:00 am now, so heading to bed, but il edit it and upload an img tomorrow if needed.

Good night

Pezo

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...