SRL Archive - OSR Help

How to click objects?


ssshhhaaa

2012-02-06 08:39:34

This might be a stupid question but how do i make a script click an object then click another abject after walking to a place.
I could find any specific tutorials on it also.

I just want my script to first walk from edgebank then click wildy ditch and the warning and go past?

is their a function for clicking an object?

Thank for your help

Nebula

2012-02-06 09:03:09

FindObjCustom(); should work for this.

FindObjTPA(); would be even better.

ssshhhaaa

2012-02-06 09:08:29

so 'object' could go inbetween the brackets?

Nebula

2012-02-06 09:12:05

FindObjCustom(x, y, ['UpText Here'], , tolerance);

that is how you use it.

ssshhhaaa

2012-02-06 09:14:08

thanks for the help

ssshhhaaa

2012-02-06 09:20:57

Btw what do the x and y stand for?

nokkasiili

2012-02-06 09:22:16

From: ssshhhaaa
Btw what do the x and y stand for?


Coordinates

ssshhhaaa

2012-02-06 09:27:32

From: nokkasiili
Coordinates


Do i have to input the coordinates?

Er1k

2012-02-06 10:02:49

declare vars x, y and feed them to your function.
you get them back as the x,y coords of the object you found