Rotor32 0 Share Posted March 15, 2019 Can someone lead me in the right direction of how to get off a ship. I am coding a Karamja lobster fishing script but I am currently stuck on getting of the ship that takes you there, I cant figure out how to interact with the gangplank. I have figured out that the gangplank is an obstacle but I cant seem to figure out how to interact with it. A hint would be nice rather than the actual answer want to figure it out somewhat on my own. Link to comment Share on other sites More sharing options...
Pseudo 178 Share Posted March 15, 2019 Hint: Look at GameObject(s) and Entities in the API documentation. There's also tons of posts on the forums you'll find showing how basic interaction works! Best of luck! Rotor32 and YoHoJo 2 Link to comment Share on other sites More sharing options...
Nex 2530 Share Posted March 15, 2019 https://dreambot.org/javadocs/org/dreambot/api/wrappers/interactive/GameObject.htmlhttps://dreambot.org/javadocs/org/dreambot/api/wrappers/interactive/GameObject.html#getActions--https://dreambot.org/javadocs/org/dreambot/api/wrappers/interactive/interact/Interactable.html#interact-- YoHoJo and Rotor32 2 Link to comment Share on other sites More sharing options...
Rotor32 0 Author Share Posted March 16, 2019 @Pseudo Thing is I couldn't find anything on the forums about gangplanks besides it being an obstacle looked through obstacle api stuff couldn't figure out how to make an obstacle variable. My current tries have been this Gameobject gangPlank = getGameObjects.closest("Gangplank"); gangPlank.interact("Cross") But that has not worked... Ill take a look at what you said and maybe it'll help thank you. Link to comment Share on other sites More sharing options...
Rotor32 0 Author Share Posted March 16, 2019 @Pseudo Hey could you explain to me why the IDE is complaining when I clearly have the needed import statement? It says it has found the import statement that is grayed out and not even in use. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now