Sign in to follow this  
Followers 0
Backnor

Little help plz

2 posts in this topic

Messing with simple script... (I am a simple minded guy)

CODE
Func GY()

$Dead = PixelSearch($GY1, $GY2, $GY3, $GY4, $C2, $v)

If Not @error Then

$Dead = 0

If @error Then

$Dead = 1

If $Dead = 1 Then

Sleep Until $Dead = 0 ; <== this is the line I need help fixing

EndIf

EndIf

EndIf

EndFunc

Thanks in advance guys hope I didn't mess this all up....

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

U sould do

Do
Sleep(100)
Until $Dead = 0

-AlmarM-

Edited by AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
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
Sign in to follow this  
Followers 0