Log in

View Full Version : easy to solve question, please take a look!



footballjds
01-01-2008, 03:07 AM
ok, im making a nat theiver to theive from the chest in ardy. but there are 2 chest exactly the same next to eachother. 1 is just like 2-4 squares south of the other, it is in a very small room, how would i pick the northern one?
ty!

mickaliscious
01-01-2008, 08:12 AM
MakeCompass('N');

Search a specific area using FindObjEx?

Just have your characters .Loc updated at each chest it goes to and search in a certain area based on that. Dtm's of the chest in combination with surrounding items might work. I don't really know what the nat chest area looks like.

footballjds
01-01-2008, 07:38 PM
any other ideas?

nielsie95
01-01-2008, 07:54 PM
Find them both using FindColorsTolerance, split the tpa using TPAtoATPA, if you've done it right you now have 2 points (using MiddleTPA). Then take the upper y :)