May 27, 20205 yr Could someone give me an example of this interaction event? I am struggling with what goes bewtteen the (). Also can i use a string such as an entity and action between here or do i have to create an event for each entity/action? I am doing it this way because i want to set the camera to not move during the interaction with each entity. InteractionEvent(Bot bot, Position position, java.lang.String... actions). Thanks in Advance
May 28, 20205 yr RS2Object ditch = getObjects().closest("Wilderness Ditch"); InteractionEvent interact = new InteractionEvent(ditch, "Cross"); if (ditch.isVisible()){ execute(interact); } This a tip for all new to coding and want to see exaples of obscure code with bad docs. goto github.com login type the string of the package you are using your case "import org.osbot.rs07.event.InteractionEvent;" put osbot after click Code its under Repositories Look at the code and try to make it work. If you cant find anything try searching other keywords or using something else or rethink logic Edited May 28, 20205 yr by Nbacon Error
Create an account or sign in to comment