Thread: Godwars Door Dont Open

Results 1 to 3 of 3
  1. #1 Godwars Door Dont Open 
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    Why don't the godwars door open or let me go through them to get into the boss rooms? This is my code for opening the doors and teleing to the other side of the door, but it doesnt work when i click on the door. Im using Project Perfection PI.
    case 26428:
    if (c.Zammy >= 15 && c.absX == 2908 && c.absY == 5265) {
    c.Zammy -= 15;
    c.getPA().movePlayer(2907, 5265, 0);
    } else {
    if (c.Zammy < 15 && c.absX == 2908 && c.absY == 5265) {
    c.sendMessage("You need at least 15 Zamorak KC to enter here!");
    return;
    }
    }
    case 26425:
    if (c.Band >= 15 && c.absX == 2908 && c.absY == 5265) {
    c.Band -= 15;
    c.getPA().movePlayer(2907, 5265, 0);
    } else {
    if (c.Band < 15 && c.absX == 2908 && c.absY == 5265) {
    c.sendMessage("You need at least 15 Bandos KC to enter here!");
    return;
    }
    }
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Dec 2010
    Posts
    761
    Thanks given
    86
    Thanks received
    137
    Rep Power
    0
    Well first off check if your under obj first click if you are try second or third because added maps and object sometime don't operate the way they should

    ow yes and try removing abs coords not need there should be a if within 1 tile it should work
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2011
    Posts
    569
    Thanks given
    146
    Thanks received
    65
    Rep Power
    52
    That worked, thanks
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Godwars door
    By Ty13r in forum Help
    Replies: 2
    Last Post: 09-19-2011, 10:43 PM
  2. Key open a door
    By OverHated in forum Help
    Replies: 3
    Last Post: 08-26-2011, 05:06 AM
  3. Stand on X,Y to open door!
    By Ophion in forum Help
    Replies: 6
    Last Post: 04-13-2011, 07:46 PM
  4. [PI] Open a door
    By Kaboom in forum Help
    Replies: 2
    Last Post: 07-24-2010, 12:46 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •