ygiggly Posted March 1, 2015 Posted March 1, 2015 Literally Just got into scripting overnight around 5am eastern time I started working on my own after reading through a bunch of the tutorials and completing one, I've kinda jumped ahead a couple steps, I gotta it down to the basis of what's needed, now I just need to work on implementing interacting with an npc, paying the toll, then getting to the bank and I can't reverse the rest from there with different id's and npc. I was able get the walk to pay the toll yet am unable to figure out the proper coding for interaction in the midst of a path. Any help please?
AresScripts Posted March 1, 2015 Posted March 1, 2015 (edited) Npc NpcVariableName = getNpcs().closest("NPC GAME NAME"); if(NpcVariableName != null && !myPlayer().isInteracting(NpcVariableName){ NpcVariableName.interact("Talk-to"); } Edited March 1, 2015 by AresScripts
ygiggly Posted March 1, 2015 Author Posted March 1, 2015 I've managed to figure out with the help of Ares how to script a proper interacting piece and also managed to better my getStates, now I'm coming along a few issues of when I implement my interaction it seems to throw my whole script off.