PDA

View Full Version : Help with walking/pathing & Choosing specific option out of multiple choices



JoeKlynnbe9
11-15-2016, 01:02 AM
I cannot figure out a way to walk/path, i have been looking at the guides and it seems that you need to find the tile location, the (x, y) but i'm not sure how to obtain those. Its a simple path only requiring 2-3 clicks however i'm not sure how to do it. I have tried using tiles to find the tile location of an object and then using myplayer to instruct the character to move towards the object, however it doesn't seem to work. If anybody can point me in the right direction with a function or procedure I can use that would be helpful.

Also, Is there anyway to choose a specific option out of two to three options for example using steel bar on a furnace, when right clicking the furnace there can be extra options from miss-clicking another object. This causes the script to select the first 'Use' option, I was wondering if there was a way to specify which 'Use' to pick for example making sure it picks 'Use Steel bar Furnace." I have tried TReflectionText.ChooseOptionMulti, however I don't believe I was using it properly. The current function I am using for this is TReflectionText.ChooseOption. My thoughts are to use something like TReflectionText.OptionExists to ensure the specific option is there, and if it is to move the mouse to it and click it. Like the above question any help/explanation would be greatly appreciated. Thanks a lot for helping as always, and hopefully it's not too much to ask.

slacky
11-17-2016, 08:01 AM
I don't use, nor is familiar with the existing Reflection library. Therefor I will suggest something outside reflection (mostly because no one else replied).
Check out RSWalker (https://villavu.com/forum/showthread.php?t=111914), and search up some SPS path making (https://villavu.com/forum/showthread.php?t=92498) tool to go with it. That should get you walking.