peeweewoen
2012-05-17 22:37:27
well guyzz,
i'm trying to make a script that searches crates in Wydin's food shop (in Port Sarim), more specifically, the 2 crates stacked on top of each other, the one that gives you raw chicken.
Now, I'm not really sure how I would go about doing this. I could use FindObjMulti() or sumthin but that might not work, since there are 2 other crates of pretty much the same color in that room…
I could also use TPAs, but I am a beginning scripter, and I'm also kinda too lazy to learn about em :P
The setup is with a pile of 2 crates on the North part of the small room, 1 crate in the middle part of the room (with a banana on top of it), and 1 crate slightly South of that (with a white apron on top of it). Each pile is spaced about 1~2 tiles apart from each other.
Now if I really had to learn TPAs I shall commence to do that.
But I really hope I don't have to yet :P
I was wondering if I could somehow use DTMs or the fact that it is a stack of 2 crates, or the fact that there are items on top of the other crates, to get SIMBA to click the right crate.
Any ideas?
Thanks in advance,
Peeweewoen
i'm trying to make a script that searches crates in Wydin's food shop (in Port Sarim), more specifically, the 2 crates stacked on top of each other, the one that gives you raw chicken.
Now, I'm not really sure how I would go about doing this. I could use FindObjMulti() or sumthin but that might not work, since there are 2 other crates of pretty much the same color in that room…
I could also use TPAs, but I am a beginning scripter, and I'm also kinda too lazy to learn about em :P
The setup is with a pile of 2 crates on the North part of the small room, 1 crate in the middle part of the room (with a banana on top of it), and 1 crate slightly South of that (with a white apron on top of it). Each pile is spaced about 1~2 tiles apart from each other.
Now if I really had to learn TPAs I shall commence to do that.
But I really hope I don't have to yet :P
I was wondering if I could somehow use DTMs or the fact that it is a stack of 2 crates, or the fact that there are items on top of the other crates, to get SIMBA to click the right crate.
Any ideas?
Thanks in advance,
Peeweewoen