Essaye Posted June 27, 2016 Posted June 27, 2016 Hello! So im brand new to making script but i want to attempt making a sand crab script. I have looked around and have pretty much figured out how to attack the crabs and how to move the player away from the crabs but I don't know how to make him move away from the crabs when they stop attacking. I was thinking making a 10 minute timer (because thats how long it takes untill the crabs stop attacking) for him to move out of the area and then move back to the same area again but I have to no idea how to make him do that... Any help regarding sand crabs would be amazing!
Fruity Posted June 27, 2016 Posted June 27, 2016 http://osbot.org/forum/topic/71920-timer-snippet-java-8/ 1
Apaec Posted June 27, 2016 Posted June 27, 2016 Here's a tip: Don't use a timer, you don't need one! Instead just detect when the crabs don't pop up when you walk near them
Essaye Posted June 27, 2016 Author Posted June 27, 2016 That seems like a better idea. Thanks for the info!