fatpoop Posted June 23, 2016 Share Posted June 23, 2016 (edited) I'm a visual person so here is a picture of what I think is causing this bug in my code. Essentially, I get stuck while calling to interact with an object, and this keeps me from checking to make sure I still need to perform that action, but it seems like there is nothing I can do, because I cannot add my parameter inside the interact call itself and I must wait for it to return. However, this bug is causing it to never return. I know this because I have a log statement before interacting, and when this bug occurs there is no logged statement, just continuous attempts to interact. Any idea how I can fix this? I'd rather not wait the 5 seconds it takes to go through the tunnel between each interaction. Basically I want to spam click the tunnel until I know I am through (if possible) Edited June 23, 2016 by fatpoop Quote Link to comment Share on other sites More sharing options...
Aiban Posted June 23, 2016 Share Posted June 23, 2016 (edited) You can get area of the tunnel after you enter it and set its plane and webwalk to it, you wont have to code the interact i believe With the above maybe you could use a null check for the tunnel? Edited June 23, 2016 by Aibanker Quote Link to comment Share on other sites More sharing options...
fatpoop Posted June 23, 2016 Author Share Posted June 23, 2016 You can get area of the tunnel after you enter it and set its plane and webwalk to it, you wont have to code the interact i believe With the above maybe you could use a null check for the tunnel? The problem is I can't check on my status if it gets stuck there, otherwise my check would return false and the script would move on to the next section. The fact that my interact never returns is what's causing the issue, and since it never returns the code never moves on. I'll look into the first suggestion though, thanks! Quote Link to comment Share on other sites More sharing options...
Strange_Fk Posted June 23, 2016 Share Posted June 23, 2016 May just be me, but I feel like you're approaching this a difficult way my friend Quote Link to comment Share on other sites More sharing options...
itzDot Posted June 23, 2016 Share Posted June 23, 2016 Just give the webwalker your final destination and the webwalker do the rest.. 1 Quote Link to comment Share on other sites More sharing options...
Final Posted June 23, 2016 Share Posted June 23, 2016 I'm not even going to try and understand that image, post some code with it annotated for the best advice. 1 Quote Link to comment Share on other sites More sharing options...
Chris Posted June 24, 2016 Share Posted June 24, 2016 (edited) > enters while loop please stop right there Edited June 24, 2016 by Christopher Quote Link to comment Share on other sites More sharing options...
Juggles Posted June 24, 2016 Share Posted June 24, 2016 WebWalk can walk through most tunnels... If that tunnel isn't coded, then webWalk to outside the tunnel, then when youre in the area outside the tunnel, have it click the nearest TunnelYou're picture is very confusing lol. Quote Link to comment Share on other sites More sharing options...
Lone Posted June 24, 2016 Share Posted June 24, 2016 Reading the last sentence it sounds like webwalking works in that area but its slow to pass through the tunnel so you want to make it go quicker? Quote Link to comment Share on other sites More sharing options...
Explv Posted June 24, 2016 Share Posted June 24, 2016 Please provide your actual source code for us to review, and provide it in all future posts to the scripting help section. Having a weird diagram is not helpful to anyone other than yourself, it is a lot easier and faster for us to tell you what you are doing wrong by reading your code. Quote Link to comment Share on other sites More sharing options...