Well, if you don't look, you won't learn. But for what it's worth, I'll try to help you out.
If you're talking about how to switch the name, so like, "Varrock Teleport" to "Home Teleport", than just do this..
Look in your base for TextHandler, once you see that notepad, open it, and search the existing teleport name. Replace that, to the name you want.
If you want to switch the teleport destination, click the teleport, and search the X or Y axis that it shows. If you don't have a command to find your X & Y axis (::mypos), use this one:
DELTA:
NONDELTA:if(command.startsWith("mypos") && playerRights > 0){
sM("AbsX: "+absX+" AbsY: "+absY+"");
}
And once you found that, either search you X Or Y axis, in the following notepads:if(command.startsWith("mypos") && playerRights > 0){
sendMessage("AbsX: "+absX+" AbsY: "+absY+"");
}
- ClickedMost.java
- Client.java
Once you find the teleport you needed, just switch the X & Y axis to the destination you wanted the user to teleport to.
I'm not to sure what you mean by "Other Teleports", so I'll just show you a teleporting method. I call this method, "Situations Shitty Portal Tutorial" If you're interested in using a portal to let the user teleport home, than search this in client.java
Incase you don't know what numbers are where, this is what they mean:makeGlobalObject
So, under this:makeGlobalObject(X axis, Y axis, Object ID, Direction, Height?);// Name of object
Add this: *FILL IT IN*makeGlobalObject
And now, we need to add the case, which will make it, so when you click it, it will teleport you to the location you need it to.makeGlobalObject(X axis, Y axis, Object ID, Direction, Height?);// Name of object
So, still in Client.java, find this:
if(objectID ==
Add this under it: *FILL IT IN WITH YOUR INFO.
if(objectID == Object ID) {
triggerTele(X axis, Y axis, 0);
sM("REPLACE THIS WITH THE TELEPORT MESSAGE");
}
Uhmm, that's the way I do it anyways, I'm not 100% sure about any of this. I'm trying to get better, by helping people, and making bases for fun. If this doesn't work for some reason, than post your error here, and I'll attempt to fix it.
Don't flame me if I did anything wrong, I did my best.