April 22, 20169 yr Hi I believe the issue will be in my case CHOP if more code is needed I can post it all just want to keep it simple. case CHOP: RS2Object tree = getObjects().closest("Tree"); if (tree != null){ tree.interact("Chop-down"); } break; As you can see it just floats over the object never interacting with it. Edited April 22, 20169 yr by Bradf3rd
April 22, 20169 yr This is due to your interact string being "Chop-down", where the actual one is "Chop down". No hyphen. The interact event is failing because it can't find the "Chop-down" action, since the actual one doesn't have the hyphen.
April 22, 20169 yr Author This is due to your interact string being "Chop-down", where the actual one is "Chop down". No hyphen. The interact event is failing because it can't find the "Chop-down" action, since the actual one doesn't have the hyphen. Make sure to use the correct names Chop-down -> Chop down Thank you both! In the guide I saw a snippet of code "stall.interact("Steal-from");" so I thought it all was like that.
Create an account or sign in to comment