Jump to content

Search the Community

Showing results for tags 'laddersstairs'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. This i no where near the most efficient way to do ladders in PI, but I just wrote this up quickly as I don't intend to have the full trapdoors/ladders or anything, for me personally this will do and is easy to implement. First of all you need the modified cycle event manager, if you don't want to use it you're just going to have to fiddle about with the ticks from 2 to 1800 I think. PlayerAssistant: [CODE] public void Climb(int x, int y, int h, String animation) { if (animation == "up") { c.startAnimation(828); } else if (animation == "down") { c.startAnimation(827); } c.canWalk = false; CycleEventHandler.getSingleton().addEvent(c, new CycleEvent() { [MENTION=15855]Over[/MENTION]ride public void execute(CycleEventContainer container) { container.stop(); } [MENTION=15855]Over[/MENTION]ride public void stop() { c.getPA().movePlayer(x, y, h); c.canWalk = true; } }, 2); }[/CODE] And that's it, if you want to use this you should know where to add the object clicking and there's two snippets below how it was used, but if you can't figure it out, i'm slightly worried. Example of climbing up ladders/stairs: [CODE] //falador mine stairs case 1734: if (obX == 3059) { c.getPA().Climb(3061, 3377, 0, "up"); } break; [/CODE] and if you want the climb down animation obviously you change the "up" to "down"
×