Hint: Its a totally different object
|
Ok, I found this place where there are some stairs. It wasn't in object.cfg, so I added all of these stairs coords and id and everything in there. I added to the if(object== w/e) balbla. The stairs on the first floor work, but the stairs on the second floor don't... I'm using a devolution source. If you need to talk, my msn is [email protected]
EDIT: Fixed... stupid mistake.
Hint: Its a totally different object
?... explain?
the stairs on the bottom have a different ID than the ones on the top. its like spawning a bank then a tree on top of it, and if you click the bank, you won't cut the tree. Kinda understand? It's weird because the client gives you a veiw of the whole staircase, but the object that you click from the top is really only a black hole.
Yeah, one is at heightLevel 0 and the Other is at heightLevel 1. The ids are different yes, but I know both of them and the command prompt shows the object id at both heightLevel, which are different ids. I have both of the ids right in my client.java.... I'm not sure why it's not working.
show teh code plox
The first 4 work, the last 4 don't.Code:if ((objectID == 6087) && (objectX == 2863) && (objectY == 10209)) { teleportToX = 2865; teleportToY = 10209; // complete heightLevel = 1; } if ((objectID == 6087) && (objectX == 2863) && (objectY == 10188)) { teleportToX = 2865; teleportToY = 10188; // complete heightLevel = 1; } if ((objectID == 6087) && (objectX == 2894) && (objectY == 10209)) { teleportToX = 2893; teleportToY = 10209; // complete heightLevel = 1; } if ((objectID == 6087) && (objectX == 2894) && (objectY == 10188)) { teleportToX = 2893; teleportToY = 10188; // complete heightLevel = 1; } if ((objectID == 6088) && (objectX == 2863) && (objectY == 10209)) { teleportToX = 2865; teleportToX = 10209; heightLevel = 0; } if ((objectID == 6088) && (objectX == 2863) && (objectY == 10188)) { teleportToX = 2865; teleportToX = 10188; heightLevel = 0; } if ((objectID == 6088) && (objectX == 2895) && (objectY == 10209)) { teleportToX = 2893; teleportToX = 10209; heightLevel = 0; } if ((objectID == 6088) && (objectX == 2895) && (objectY == 10188)) { teleportToX = 2893; teleportToX = 10188; heightLevel = 0; }
my objects.cfg:
Lol fixed didn't see i had two teleportToX's in one LOL.Code:object = 6088 2863 10209 1 object = 6088 2863 10188 1 object = 6088 2895 10209 1 object = 6088 2895 10188 1 object = 6087 2863 10209 1 object = 6087 2863 10188 1 object = 6087 2894 10209 1 object = 6087 2894 10188 1
My stairs on the 1st and 2nd floor stairs make ur char actually walk to them, but the 3rd and 4th floor stairs tele u from where ever u are...idk why
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |