Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import org.osbot.rs07.api.map.Position;
  2. import org.osbot.rs07.api.model.Entity;
  3. import org.osbot.rs07.api.ui.Skill;
  4. import org.osbot.rs07.script.Script;
  5. import org.osbot.rs07.script.ScriptManifest;
  6. import org.osbot.rs07.utility.Area;
  7. import java.awt.Color;
  8. import java.awt.Graphics2D;
  9.  
  10.  
  11. import java.awt.*;
  12.  
  13.  
  14.  
  15.  
  16. //one of the paths, its linked with walk_bank
  17. private Position[] path1 = {
  18.          new Position(2925, 3177, 0), new Position(2925, 3172, 0),
  19.          new Position(2926, 3170, 0), new Position(2924, 3167, 0), new Position(2922, 3165, 0),
  20.          new Position(2922, 3163, 0), new Position(2919, 3161, 0), new Position(2917, 3158, 0),
  21.          new Position(2916, 3156, 0), new Position(2915, 3151, 0), new Position(2923, 3151, 0),
  22.          new Position(2934, 3148, 0), new Position(2945, 3146, 0), new Position(2954, 3147, 0) };
  23.  
  24.  
  25.  
  26. //one of the cases for pathwalking.
  27. case WALK_BANK:
  28.             localWalker.walkPath(path1);
  29.             while(myPlayer().isMoving())
  30.                 sleep(random(500,1200));
  31.             break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement