SRL Archive - Help and Support

Opening the nearest door.


Wanted

2008-07-11 18:47:06

I already have detection for doors being closed or opened but I really just need a simple function that opens the closest doors. FindObj is being really gay, any ideas?

Illkillutill

2008-07-11 19:02:51

Just make your own function using FindColorsSpiralTolerance, that way it will spiral out from the middle of the main screen looking for the color of the door and you could add some uptext too.

i guess this would work :P.

Timer

2008-07-11 19:10:46

Yes, a simple findcolorsspiraltolerance, probally a TPAtoATPA(*Door TPointArray Var*, 10), MiddleTPA them all and go from there.

Need help..? Just ask me..! ;)

Cazax

2008-07-11 20:15:50

FindObjTPA or find the doors in the minimap.

Ejjman

2008-07-11 21:47:08

Considering your in the castle and u can land in front of the doors, I suggest you just use Color finding in the centre as posted above. Surprisd your asking about this hahaha. :P

Wanted

2008-07-12 00:43:48

Yea I already have a FindColorsSpiralTolerance, I asked here to get an opinion.

Thanks everyone.

Close?

The Claw

2008-07-12 09:43:51

Chuck all doors on the minimap into a TPA and sort by closest, etc. DoorProfiles!

Sir R. M8gic1an

2008-07-12 11:22:37

Use SortATPAFrom, cus after split or TPAToATPA the spiral search will be worthless cus it'll be reordered.

~RM

the scar noob

2008-07-12 12:21:16

Hehe what about DoorProfiles made by Boreas?:p
Nobody thinks abymore of the 'ol Boreas:(:p

-Tsn.

Wanted

2008-07-12 19:05:25

From: the scar noob
Hehe what about DoorProfiles made by Boreas?:p
Nobody thinks abymore of the 'ol Boreas:(:p

-Tsn.


Yea I looked through those, I thought there's a good chance they haven't been updated after like 2-3 major RS updates and don't work anymore.

Trust me, every time I think about doors the word Boreas comes to my mind.

SKy Scripter

2008-07-14 02:08:58

lol you were able to detect if doors are open or closed but you can't simply find them ? wtf mate ? xD


anyway just use ACA or something..