K, i extended my boss minigame and moved the first boss, but the object i want to use to teleport to get to the second boss, and the 5th boss, aren't working.
The Red key thing and the Magenta key thing.
Please help.
Code:
if ((objectID == 6373) && (objectX == 3492) && (objectY == 3090)) {
if (playerHasItem(1543)) {
teleportToX = 2602;
teleportToY = 9479;
} else {
sendMessage("You need a Red key to go down these stairs");
}
}
if (objectID == 2321) {
if (playerHasItem(1544)) {
teleportToX = 2598;
teleportToY = 9495;
} else {
sendMessage("You need an Orange key to cross.");
}
}
if (objectID == 2303) {
if (playerHasItem(1545)) {
teleportToX = 2580;
teleportToY = 9520;
} else {
sendMessage("You need a Yellow key to cross.");
}
}
if ((objectID == 1734 && objectX == 2569 && objectY == 9522)) {
if (playerHasItem(1546)) {
teleportToX = 2687;
teleportToY = 9506;
sendMessage("Welcome to the Chaos Elemental.");
sendMessage("When you get the Magenta key, type ::Kings");
} else {
sendMessage("You need a Blue key to go up there.");
}
}
if (objectID == 5099) {
if (playerHasItem(1545)) {
triggerTele(2570, 9527, 0, false);
sendMessage("You arrive at the Dagannoth Kings' Lair. Good Luck.");
} else {
sendMessage("You need a Magenta key to navigate through the tunnel.");
}
}
Thanks.